class RenderersTest::XmlRenderable

Public Instance Methods

to_xml(options) click to toggle source
# File actionpack/test/controller/renderers_test.rb, line 9
def to_xml(options)
  options[:root] ||= "i-am-xml"
  "<#{options[:root]}/>"
end