Class: Brainfucktt::Language::Loop
- Defined in:
- lib/brainfucktt/language/loop.rb
Overview
Instance Method Summary collapse
-
#run(parser) ⇒ Object
Run the loop.
Methods inherited from Node
Instance Method Details
#run(parser) ⇒ Object
Run the loop
10 11 12 |
# File 'lib/brainfucktt/language/loop.rb', line 10 def run(parser) elements[0].run(parser) until parser.byte.empty? end |