Methods
Instance Public methods
Source: show
# File rails/activesupport/lib/active_support/core_ext/hash/conversions.rb, line 137 def create_from_xml(xml) ActiveSupport::Deprecation.warn("Hash.create_from_xml has been renamed to Hash.from_xml", caller) from_xml(xml) end
Source: show
# File rails/activesupport/lib/active_support/core_ext/hash/conversions.rb, line 127 def from_xml(xml) # TODO: Refactor this into something much cleaner that doesn't rely on XmlSimple undasherize_keys(typecast_xml_value(XmlSimple.xml_in_string(xml, 'forcearray' => false, 'forcecontent' => true, 'keeproot' => true, 'contentkey' => '__content__') )) end