Method: TestInterpreter#initialize

Defined in:
lib/blockly_interpreter/blockly_interpreter_test_helper.rb

#initialize(program, variables = {}) ⇒ TestInterpreter

Returns a new instance of TestInterpreter.



68
69
70
71
# File 'lib/blockly_interpreter/blockly_interpreter_test_helper.rb', line 68

def initialize(program, variables = {})
  super(program)
  @variables = variables
end