Skip to content

Commit

Permalink
rexml patch
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Dec 5, 2014
1 parent 4e93f31 commit 8390e62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ruby/1.8/rexml/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ def record_entity_expansion
end
end

def document
self
end

private
def build( source )
Parsers::TreeParser.new( source, self ).parse
Expand Down
4 changes: 4 additions & 0 deletions lib/ruby/1.9/rexml/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ def record_entity_expansion
end
end

def document
self
end

private
def build( source )
Parsers::TreeParser.new( source, self ).parse
Expand Down
4 changes: 4 additions & 0 deletions lib/ruby/2.0/rexml/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ def record_entity_expansion
end
end

def document
self
end

private
def build( source )
Parsers::TreeParser.new( source, self ).parse
Expand Down

0 comments on commit 8390e62

Please sign in to comment.