module ActiveSupport::XmlMini

def cast_backend_name_to_module(name)

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