Flowdock
method

compile

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::TemplateHandlers::Builder
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/builder.rb, line 8
      def compile(template)
        "_set_controller_content_type(Mime::XML);" +
          "xml = ::Builder::XmlMarkup.new(:indent => 2);" +
          "self.output_buffer = xml.target!;" +
          template.source +
          ";xml.target!;"
      end
Register or log in to add new notes.