diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-21 18:44:00 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-21 18:44:00 -0700 |
commit | 2133044fec1e405648679779d51d2b74ce840f6c (patch) | |
tree | d0240f3c5a8f72fc3c017c210b23c2f7de2a9391 /activesupport | |
parent | bca510cec23aff4c147f2ab5c30de930f120d84b (diff) | |
download | rails-2133044fec1e405648679779d51d2b74ce840f6c.tar.gz rails-2133044fec1e405648679779d51d2b74ce840f6c.tar.bz2 rails-2133044fec1e405648679779d51d2b74ce840f6c.zip |
Hide XmlMini backend details from rdoc
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/rexml.rb | 6 | ||||
-rw-r--r-- | activesupport/lib/active_support/xml_mini/libxml.rb | 8 | ||||
-rw-r--r-- | activesupport/lib/active_support/xml_mini/nokogiri.rb | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/activesupport/lib/active_support/core_ext/rexml.rb b/activesupport/lib/active_support/core_ext/rexml.rb index 6d35963558..decc4f6d9c 100644 --- a/activesupport/lib/active_support/core_ext/rexml.rb +++ b/activesupport/lib/active_support/core_ext/rexml.rb @@ -11,8 +11,8 @@ unless (defined?(REXML::VERSION) ? REXML::VERSION : REXML::Version) > "3.1.7.2" unless REXML::Document.respond_to?(:entity_expansion_limit=) require 'rexml/entity' - module REXML - class Entity < Child + module REXML #:nodoc: + class Entity < Child #:nodoc: undef_method :unnormalized def unnormalized document.record_entity_expansion! if document @@ -22,7 +22,7 @@ unless (defined?(REXML::VERSION) ? REXML::VERSION : REXML::Version) > "3.1.7.2" @unnormalized end end - class Document < Element + class Document < Element #:nodoc: @@entity_expansion_limit = 10_000 def self.entity_expansion_limit= val @@entity_expansion_limit = val diff --git a/activesupport/lib/active_support/xml_mini/libxml.rb b/activesupport/lib/active_support/xml_mini/libxml.rb index 3586b24a6b..370205409a 100644 --- a/activesupport/lib/active_support/xml_mini/libxml.rb +++ b/activesupport/lib/active_support/xml_mini/libxml.rb @@ -21,15 +21,15 @@ module ActiveSupport end end -module LibXML - module Conversions - module Document +module LibXML #:nodoc: + module Conversions #:nodoc: + module Document #:nodoc: def to_hash root.to_hash end end - module Node + module Node #:nodoc: CONTENT_ROOT = '__content__' LIB_XML_LIMIT = 30000000 # Hardcoded LibXML limit diff --git a/activesupport/lib/active_support/xml_mini/nokogiri.rb b/activesupport/lib/active_support/xml_mini/nokogiri.rb index 10281584fc..8f9676e4f6 100644 --- a/activesupport/lib/active_support/xml_mini/nokogiri.rb +++ b/activesupport/lib/active_support/xml_mini/nokogiri.rb @@ -18,14 +18,14 @@ module ActiveSupport end end - module Conversions - module Document + module Conversions #:nodoc: + module Document #:nodoc: def to_hash root.to_hash end end - module Node + module Node #:nodoc: CONTENT_ROOT = '__content__' # Convert XML document to hash |