Class: Construqt::Cables::DirectedCable
- Inherits:
-
Object
- Object
- Construqt::Cables::DirectedCable
- Defined in:
- lib/construqt/cables.rb
Instance Attribute Summary collapse
-
#cable ⇒ Object
Returns the value of attribute cable.
-
#other ⇒ Object
Returns the value of attribute other.
Instance Method Summary collapse
-
#initialize(cable, other) ⇒ DirectedCable
constructor
A new instance of DirectedCable.
Constructor Details
#initialize(cable, other) ⇒ DirectedCable
Returns a new instance of DirectedCable.
29 30 31 32 |
# File 'lib/construqt/cables.rb', line 29 def initialize(cable, other) self.cable = cable self.other = other end |
Instance Attribute Details
#cable ⇒ Object
Returns the value of attribute cable.
28 29 30 |
# File 'lib/construqt/cables.rb', line 28 def cable @cable end |
#other ⇒ Object
Returns the value of attribute other.
28 29 30 |
# File 'lib/construqt/cables.rb', line 28 def other @other end |