Methods

Class/Module Index [+]

Quicksearch

ActionView::TemplateHandlers::RJS

Public Instance Methods

compile(template) click to toggle source
# File lib/action_view/template_handlers/rjs.rb, line 6
def compile(template)
  "@template_format = :html;" +
  "controller.response.content_type ||= Mime::JS;" +
    "update_page do |page|;#{template.source}\nend"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.