Class: RFlow::Component::Port
- Inherits:
-
Object
- Object
- RFlow::Component::Port
- Defined in:
- lib/rflow/component/port.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#component ⇒ Object
readonly
Returns the value of attribute component.
-
#connected ⇒ Object
readonly
Returns the value of attribute connected.
Instance Method Summary collapse
- #connected? ⇒ Boolean
-
#initialize(component) ⇒ Port
constructor
A new instance of Port.
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
#component ⇒ Object (readonly)
Returns the value of attribute component.
38 39 40 |
# File 'lib/rflow/component/port.rb', line 38 def component @component end |
#connected ⇒ Object (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
44 |
# File 'lib/rflow/component/port.rb', line 44 def connected?; connected; end |