Flowdock
method

from_xml

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Hash::ClassMethods
from_xml(xml) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 169
          def from_xml(xml)
            # TODO: Refactor this into something much cleaner that doesn't rely on XmlSimple
            typecast_xml_value(undasherize_keys(XmlSimple.xml_in_string(xml,
              'forcearray'   => false,
              'forcecontent' => true,
              'keeproot'     => true,
              'contentkey'   => '__content__')
            ))
          end
Register or log in to add new notes.