Class: Roby::Tools::Calculus::Unary
- Includes:
- Build
- Defined in:
- lib/roby/coordination/calculus.rb
Instance Attribute Summary collapse
-
#op ⇒ Object
Returns the value of attribute op.
-
#val ⇒ Object
Returns the value of attribute val.
Instance Method Summary collapse
Methods included from Build
Instance Attribute Details
#op ⇒ Object
Returns the value of attribute op
27 28 29 |
# File 'lib/roby/coordination/calculus.rb', line 27 def op @op end |
#val ⇒ Object
Returns the value of attribute val
27 28 29 |
# File 'lib/roby/coordination/calculus.rb', line 27 def val @val end |
Instance Method Details
#evaluate(variables) ⇒ Object
28 29 30 |
# File 'lib/roby/coordination/calculus.rb', line 28 def evaluate(variables) val.evaluate(variables).send(op) end |