Hash

class Hash

Parent:
Object

Public Class Methods

from_trusted_xml(xml) Show source

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

# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 132
def from_trusted_xml(xml)
  from_xml xml, []
end
登录查看完整内容