instance method
backend=
Ruby on Rails 2.3.18
Since v2.3.18Signature
backend=(name)
No documentation comment.
Parameters
-
namereq
Source
# File activesupport/lib/active_support/xml_mini.rb, line 13
def backend=(name)
if name.is_a?(Module)
@backend = name
else
require "active_support/xml_mini/#{name.to_s.downcase}.rb"
@backend = ActiveSupport.const_get("XmlMini_#{name}")
end
end
Defined in activesupport/lib/active_support/xml_mini.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::XmlMini