Class: Crisp::Runtime
- Inherits:
-
Object
- Object
- Crisp::Runtime
- Defined in:
- lib/crisp/runtime.rb
Instance Method Summary collapse
-
#initialize ⇒ Runtime
constructor
A new instance of Runtime.
- #run(ast) ⇒ Object
Constructor Details
Instance Method Details
#run(ast) ⇒ Object
8 9 10 |
# File 'lib/crisp/runtime.rb', line 8 def run(ast) ast.eval(@env) end |