class method
self.from_xml
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
self.from_xml(xml, disallowed_types = nil)
No documentation comment.
Parameters
-
xmlreq -
disallowed_typesopt = nil
Source
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 97
def from_xml(xml, disallowed_types = nil)
typecast_xml_value(unrename_keys(ActiveSupport::XmlMini.parse(xml)), disallowed_types)
end
Defined in activesupport/lib/active_support/core_ext/hash/conversions.rb line 97
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Hash