Parent

Methods

Class/Module Index [+]

Quicksearch

ActionView::Template::Handlers::Builder

Public Instance Methods

call(template) click to toggle source
# File lib/action_view/template/handlers/builder.rb, line 8
def call(template)
  require 'builder'
  "xml = ::Builder::XmlMarkup.new(:indent => 2);" +
    "self.output_buffer = xml.target!;" +
    template.source +
    ";xml.target!;"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.