method
cast_backend_name_to_module
v4.1.8 -
Show latest stable
- Class:
ActiveSupport::XmlMini
cast_backend_name_to_module(name)private
No documentation available.
# File activesupport/lib/active_support/xml_mini.rb, line 180
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