To use the much faster libxml parser:
gem 'libxml-ruby', '=0.9.7' XmlMini.backend = 'LibXML'
# File lib/active_support/xml_mini.rb, line 13 def backend=(name) if name.is_a?(Module) @backend = name else require "active_support/xml_mini/#{name.to_s.downcase}.rb" @backend = ActiveSupport.const_get("XmlMini_#{name}") end end
# File lib/active_support/xml_mini.rb, line 22 def with_backend(name) old_backend, self.backend = backend, name yield ensure self.backend = old_backend end
[Validate]
Generated with the Darkfish Rdoc Generator 2.