class method
self.from_trusted_xml
Ruby on Rails 7.1.6
Since v3.0.20Signature
self.from_trusted_xml(xml)
Builds a Hash from XML just like Hash.from_xml, but also allows Symbol and YAML.
Parameters
-
xmlreq
Source
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 133
def from_trusted_xml(xml)
from_xml xml, []
end
Defined in activesupport/lib/active_support/core_ext/hash/conversions.rb line 133
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Hash