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