Class: ROS::Master::Parameter
- Inherits:
-
Object
- Object
- ROS::Master::Parameter
- Defined in:
- lib/ros/master.rb
Overview
ROS parameter
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ Parameter
constructor
A new instance of Parameter.
Constructor Details
#initialize(key, value) ⇒ Parameter
Returns a new instance of Parameter.
31 32 33 34 |
# File 'lib/ros/master.rb', line 31 def initialize(key, value) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
35 36 37 |
# File 'lib/ros/master.rb', line 35 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
36 37 38 |
# File 'lib/ros/master.rb', line 36 def value @value end |