Class: Basic101::EndStatement
- Defined in:
- lib/basic101/end_statement.rb
Instance Attribute Summary
Attributes inherited from Statement
Instance Method Summary collapse
Methods inherited from Statement
#data_items, #exec, #line_number, #raise_error_with_line_number
Methods included from Identity
Instance Method Details
#execute(runtime) ⇒ Object
9 10 11 |
# File 'lib/basic101/end_statement.rb', line 9 def execute(runtime) runtime.end_program end |