Class: Construqt::Cables::DirectedCable

Inherits:
Object
  • Object
show all
Defined in:
lib/construqt/cables.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cableObject

Returns the value of attribute cable.



28
29
30
# File 'lib/construqt/cables.rb', line 28

def cable
  @cable
end

#otherObject

Returns the value of attribute other.



28
29
30
# File 'lib/construqt/cables.rb', line 28

def other
  @other
end