Class: RoboticArm::Component
- Inherits:
-
Object
- Object
- RoboticArm::Component
- Defined in:
- lib/robotic-arm.rb
Direct Known Subclasses
Instance Method Summary collapse
- #active? ⇒ Boolean
-
#initialize(robot_arm) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(robot_arm) ⇒ Component
Returns a new instance of Component.
189 |
# File 'lib/robotic-arm.rb', line 189 def initialize(robot_arm) @ra = robot_arm end |
Instance Method Details
#active? ⇒ Boolean
190 |
# File 'lib/robotic-arm.rb', line 190 def active?() @active end |