Class: RFlow::Component::Port

Inherits:
Object
  • Object
show all
Defined in:
lib/rflow/component/port.rb

Direct Known Subclasses

HashPort

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(component) ⇒ Port

Returns a new instance of Port.



40
41
42
# File 'lib/rflow/component/port.rb', line 40

def initialize(component)
  @component = component
end

Instance Attribute Details

#componentObject (readonly)

Returns the value of attribute component.



38
39
40
# File 'lib/rflow/component/port.rb', line 38

def component
  @component
end

#connectedObject (readonly)

Returns the value of attribute connected.



38
39
40
# File 'lib/rflow/component/port.rb', line 38

def connected
  @connected
end

Instance Method Details

#connected?Boolean

Returns:

  • (Boolean)


44
# File 'lib/rflow/component/port.rb', line 44

def connected?; connected; end