diff options
Diffstat (limited to 'lib/rexml/document.rb')
-rw-r--r-- | lib/rexml/document.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb index 2f9e659772..9f94d9707a 100644 --- a/lib/rexml/document.rb +++ b/lib/rexml/document.rb @@ -240,6 +240,10 @@ module REXML end end + def document + self + end + private def build( source ) Parsers::TreeParser.new( source, self ).parse |