Method: Hash.from_trusted_xml

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

.from_trusted_xml(xml) ⇒ Object

Builds a Hash from XML just like Hash.from_xml, but also allows Symbol and YAML.



133
134
135
# File 'activesupport/lib/active_support/core_ext/hash/conversions.rb', line 133

def from_trusted_xml(xml)
  from_xml xml, []
end