Module | ActiveSupport::XmlMini |
In: |
vendor/rails/activesupport/lib/active_support/xml_mini.rb
|
To use the much faster libxml parser:
gem 'libxml-ruby', '=0.9.7' XmlMini.backend = 'LibXML'
backend | [R] |
# File vendor/rails/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