Module: BlocklyInterpreter::CoreBlocks::TextChangeCaseBlock::DSLMethods

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

Instance Method Summary collapse

Instance Method Details

#text_change_case(destination_case, &proc) ⇒ Object



25
26
27
28
29
30
# File 'lib/blockly_interpreter/core_blocks/text_change_case_block.rb', line 25

def text_change_case(destination_case, &proc)
  block :text_changeCase do
    field :CASE, destination_case
    value :TEXT, &proc
  end
end