Method: REXML::Parsers::BaseParser#unshift
- Defined in:
- lib/rexml/parsers/baseparser.rb
#unshift(token) ⇒ Object
Push an event back on the head of the stream. This method has (theoretically) infinite depth.
159 160 161 |
# File 'lib/rexml/parsers/baseparser.rb', line 159 def unshift token @stack.unshift(token) end |