Class: RaiseExceptionBlock

Inherits:
BlocklyInterpreter::Block show all
Defined in:
lib/blockly_interpreter/blockly_interpreter_test_helper.rb

Defined Under Namespace

Modules: DSLMethods Classes: TestException

Instance Attribute Summary

Attributes inherited from BlocklyInterpreter::Block

#block_type, #comment, #comment_pinned, #fields, #is_shadow, #mutation, #next_block, #statements, #values, #x, #y

Instance Method Summary collapse

Methods inherited from BlocklyInterpreter::Block

#each_block, #has_comment?, #has_position?, #initialize, #to_dsl, #to_xml, #to_xml_element

Constructor Details

This class inherits a constructor from BlocklyInterpreter::Block

Instance Method Details

#execute_statement(execution_context) ⇒ Object

Raises:



38
39
40
# File 'lib/blockly_interpreter/blockly_interpreter_test_helper.rb', line 38

def execute_statement(execution_context)
  raise TestException
end

#value(execution_context) ⇒ Object

Raises:



34
35
36
# File 'lib/blockly_interpreter/blockly_interpreter_test_helper.rb', line 34

def value(execution_context)
  raise TestException
end