Method: REXML::Parsers::BaseParser#pull
- Defined in:
- lib/rexml/parsers/baseparser.rb
#pull ⇒ Object
Returns the next event. This is a PullEvent
object.
184 185 186 187 188 189 190 |
# File 'lib/rexml/parsers/baseparser.rb', line 184 def pull pull_event.tap do |event| @listeners.each do |listener| listener.receive event end end end |