method

compile

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::TemplateHandlers::RJS
compile(template) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/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
Register or log in to add new notes.