Module: BlocklyInterpreter::ExtensionBlocks::ListsAppendBlock::DSLMethods

Defined in:
lib/blockly_interpreter/extension_blocks/lists_append_block.rb

Defined Under Namespace

Classes: ListsAppendBlockBuilder

Instance Method Summary collapse

Instance Method Details

#lists_appendObject



28
29
30
31
32
# File 'lib/blockly_interpreter/extension_blocks/lists_append_block.rb', line 28

def lists_append
  @blocks << BlocklyInterpreter::ExtensionBlocks::ListsAppendBlock::DSLMethods::ListsAppendBlockBuilder.new('lists_append').tap do |builder|
    builder.instance_exec(&proc) if proc
  end
end