Module: BlocklyInterpreter::CoreBlocks::NumberBlock::DSLMethods

Defined in:
lib/blockly_interpreter/core_blocks/number_block.rb

Instance Method Summary collapse

Instance Method Details

#math_number(n) ⇒ Object



17
18
19
20
21
# File 'lib/blockly_interpreter/core_blocks/number_block.rb', line 17

def math_number(n)
  block :math_number do
    field :NUM, n.to_s
  end
end