class ActionView::TemplateHandlers::RablHandler

Public Instance Methods

compile(template) click to toggle source
# File lib/rabl/template.rb, line 32
def compile(template) %{
  ::Rabl::Engine.new(#{template.source.inspect}, { :format => #{template.format.inspect} }).
    render(self, assigns.merge(local_assigns))
} end