XmlMini

To use the much faster libxml parser:

  gem 'libxml-ruby', '=0.9.7'
  XmlMini.backend = 'LibXML'
Methods
Attributes
[R] backend
Public Instance methods
backend=(name)
    # File activesupport/lib/active_support/xml_mini.rb, line 13
13:     def backend=(name)
14:       if name.is_a?(Module)
15:         @backend = name
16:       else
17:         require "active_support/xml_mini/#{name.to_s.downcase}.rb"
18:         @backend = ActiveSupport.const_get("XmlMini_#{name}")
19:       end
20:     end
with_backend(name) {|| ...}
    # File activesupport/lib/active_support/xml_mini.rb, line 22
22:     def with_backend(name)
23:       old_backend, self.backend = backend, name
24:       yield
25:     ensure
26:       self.backend = old_backend
27:     end