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