Class: Basic101::EndifStatement
- Defined in:
- lib/basic101/endif_statement.rb
Instance Attribute Summary
Attributes inherited from Statement
Instance Method Summary collapse
- #execute(runtime) ⇒ Object
- #goto_following_statement(runtime) ⇒ Object
-
#initialize ⇒ EndifStatement
constructor
A new instance of EndifStatement.
Methods inherited from Statement
#data_items, #exec, #line_number, #raise_error_with_line_number
Methods included from Identity
Constructor Details
#initialize ⇒ EndifStatement
Returns a new instance of EndifStatement.
9 10 |
# File 'lib/basic101/endif_statement.rb', line 9 def initialize end |
Instance Method Details
#execute(runtime) ⇒ Object
12 13 |
# File 'lib/basic101/endif_statement.rb', line 12 def execute(runtime) end |
#goto_following_statement(runtime) ⇒ Object
15 16 17 |
# File 'lib/basic101/endif_statement.rb', line 15 def goto_following_statement(runtime) runtime.goto_index(@index + 1) end |