instance method
cast_backend_name_to_module
Ruby on Rails 4.2.9
Since v4.0.13 PrivateSignature
cast_backend_name_to_module(name)
No documentation comment.
Parameters
-
namereq
Source
# File activesupport/lib/active_support/xml_mini.rb, line 198
def cast_backend_name_to_module(name)
if name.is_a?(Module)
name
else
require "active_support/xml_mini/#{name.downcase}"
ActiveSupport.const_get("XmlMini_#{name}")
end
end
Defined in activesupport/lib/active_support/xml_mini.rb line 198
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::XmlMini