mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
merge revision(s) 34204:
* lib/rexml/parsers/baseparser.rb: use private instead of _xxx method name. This is Ruby code not Python code. refs #5696 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
68fff3881d
commit
6166e9cf28
3 changed files with 10 additions and 3 deletions
|
@ -180,14 +180,14 @@ module REXML
|
|||
|
||||
# Returns the next event. This is a +PullEvent+ object.
|
||||
def pull
|
||||
_pull_inner.tap do |event|
|
||||
pull_event.tap do |event|
|
||||
@listeners.each do |listener|
|
||||
listener.receive event
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def _pull_inner
|
||||
def pull_event
|
||||
if @closed
|
||||
x, @closed = @closed, nil
|
||||
return [ :end_element, x ]
|
||||
|
@ -436,6 +436,7 @@ module REXML
|
|||
end
|
||||
return [ :dummy ]
|
||||
end
|
||||
private :pull_event
|
||||
|
||||
def entity( reference, entities )
|
||||
value = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue