Methods
- C
-
- R
-
Instance Public methods
Source:
show
| on GitHub
def call(template)
require_engine
"xml = ::Builder::XmlMarkup.new(:indent => 2);" +
"self.output_buffer = xml.target!;" +
template.source +
";xml.target!;"
end
Instance Protected methods
Source:
show
| on GitHub
def require_engine
@required ||= begin
require "builder"
true
end
end