Module: ActiveSupport::CoreExtensions::Hash::Conversions::ClassMethods

Defined in:
lib/active_support/core_ext/hash/conversions.rb

Instance Method Summary collapse

Instance Method Details

#from_xml(xml) ⇒ Object



163
164
165
# File 'lib/active_support/core_ext/hash/conversions.rb', line 163

def from_xml(xml)
  typecast_xml_value(unrename_keys(XmlMini.parse(xml)))
end