Class: RubyToBlock::Block::Value
- Defined in:
- app/models/concerns/ruby_to_block/block/value.rb
Direct Known Subclasses
HardwareButtonPressedOrReleased, HardwareMotorDriverSpeed, HardwareSensorValue, HardwareSmalrubotDcMotorPowerRatio, HardwareSmalrubotSensorValue, HardwareTwoWheelDriveCarCommands, HardwareTwoWheelDriveCarSpeed, MathNumber, MotionSelfAngle, MotionSelfX, MotionSelfY, OperatorsCompare, OperatorsFalse, OperatorsTrue, RubyExpression, SensingHit, SensingReachWall, SoundPresetSounds, Text
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#fields, #parent, #prev_sibling, #sibling, #statements, #values
Class Method Summary collapse
Methods inherited from Base
#[], #add_statement, #add_value, blocknize, indent?, #indent_level, inherited, #initialize, inline?, #inline?, #null?, priority, process_else, process_end, process_value_string, regexp, statement?, #to_xml, type, #type, value?
Constructor Details
This class inherits a constructor from RubyToBlock::Block::Base
Class Method Details
.process_match_data(md, context) ⇒ Object
5 6 7 8 9 |
# File 'app/models/concerns/ruby_to_block/block/value.rb', line 5 def self.process_match_data(md, context) context.add_value(new) true end |