Class: BlocklyInterpreter::ExtensionBlocks::ListsConcatBlock::DSLMethods::ListsConcatBlockBuilder

Inherits:
DSL::BlockBuilder
  • Object
show all
Defined in:
lib/blockly_interpreter/extension_blocks/lists_concat_block.rb

Instance Attribute Summary

Attributes inherited from DSL::BlockBuilder

#block_type, #comment, #comment_pinned, #fields, #is_shadow, #mutation_attrs, #mutation_child_procs, #statements, #values, #x, #y

Instance Method Summary collapse

Methods inherited from DSL::BlockBuilder

#build_subblock, #comment_to_xml, #field, #field_to_xml, #initialize, #mutation_attr, #mutation_child, #mutations_to_xml, #set_comment, #set_position!, #shadow!, #statement, #subblock_to_xml, #tag_name, #to_xml, #value

Constructor Details

This class inherits a constructor from BlocklyInterpreter::DSL::BlockBuilder

Instance Method Details

#list1(&proc) ⇒ Object



22
23
24
# File 'lib/blockly_interpreter/extension_blocks/lists_concat_block.rb', line 22

def list1(&proc)
  value("LIST1", &proc)
end

#list2(&proc) ⇒ Object



26
27
28
# File 'lib/blockly_interpreter/extension_blocks/lists_concat_block.rb', line 26

def list2(&proc)
  value("LIST2", &proc)
end