Class: Roby::Coordination::Script::Models::PollUntil
- Defined in:
- lib/roby/coordination/script.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(event, block) ⇒ PollUntil
constructor
A new instance of PollUntil.
- #new(script) ⇒ Object
Constructor Details
#initialize(event, block) ⇒ PollUntil
Returns a new instance of PollUntil.
33 34 35 36 |
# File 'lib/roby/coordination/script.rb', line 33 def initialize(event, block) @event = event @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
31 32 33 |
# File 'lib/roby/coordination/script.rb', line 31 def block @block end |
#event ⇒ Object (readonly)
Returns the value of attribute event.
31 32 33 |
# File 'lib/roby/coordination/script.rb', line 31 def event @event end |