Methods
Public Class methods
xml_in_string(string, options = nil)
    # File lib/active_support/core_ext/hash/conversions.rb, line 22
22:   def self.xml_in_string(string, options = nil)
23:     new.xml_in_string(string, options)
24:   end
Public Instance methods
xml_in_string(string, options = nil)

Same as xml_in but doesn‘t try to smartly shoot itself in the foot.

    # File lib/active_support/core_ext/hash/conversions.rb, line 9
 9:   def xml_in_string(string, options = nil)
10:     handle_options('in', options)
11: 
12:     @doc = parse(string)
13:     result = collapse(@doc.root)
14: 
15:     if @options['keeproot']
16:       merge({}, @doc.root.name, result)
17:     else
18:       result
19:     end
20:   end