Class: PSD::EngineData::Instruction::Property
- Inherits:
-
PSD::EngineData::Instruction
- Object
- PSD::EngineData::Instruction
- PSD::EngineData::Instruction::Property
- Defined in:
- lib/psd/enginedata/instructions/property.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from PSD::EngineData::Instruction
#initialize, match, #match, #method_missing
Constructor Details
This class inherits a constructor from PSD::EngineData::Instruction
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PSD::EngineData::Instruction
Class Method Details
.token ⇒ Object
6 |
# File 'lib/psd/enginedata/instructions/property.rb', line 6 def self.token; /^\/([A-Z0-9]+)$/i; end |
Instance Method Details
#execute! ⇒ Object
8 9 10 |
# File 'lib/psd/enginedata/instructions/property.rb', line 8 def execute! set_property match[1] end |