Method: Iode.run
- Defined in:
- lib/iode.rb
.run(source) ⇒ Object
Run a string of iode source code and return a value to Ruby.
38 39 40 |
# File 'lib/iode.rb', line 38 def run(source) Interpreter.new.eval(Reader.new.read(source)) end |