Module: CEML::Instructions::InstructionStmt1
- Defined in:
- lib/ceml/lang/tt/instructions.rb
Instance Method Summary collapse
Instance Method Details
#bytecode ⇒ Object
99 100 101 102 103 104 105 |
# File 'lib/ceml/lang/tt/instructions.rb', line 99 def bytecode if delay [[[role], :start_delay, delay], [[role], :complete_delay]] + elements[1].bytecode else elements[1].bytecode end end |
#delay ⇒ Object
95 96 97 |
# File 'lib/ceml/lang/tt/instructions.rb', line 95 def delay later.duration.seconds if respond_to? :later and not later.empty? end |