Permalink
Browse files

Hide XmlMini backend details from rdoc

  • Loading branch information...
1 parent bca510c commit 2133044fec1e405648679779d51d2b74ce840f6c @jeremy jeremy committed Mar 22, 2009
@@ -11,8 +11,8 @@
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 @@ def unnormalized
@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
@@ -21,15 +21,15 @@ def parse(string)
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
@@ -18,14 +18,14 @@ def parse(string)
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

0 comments on commit 2133044

Please sign in to comment.