class RFlow::Component::Port
An input or output port on a {Component}.
Attributes
component[R]
The {Component} this port belongs to. @return [Component]
connected[R]
True if there are connections to the port. @return [boolean]
Public Class Methods
new(component)
click to toggle source
# File lib/rflow/component/port.rb, line 60 def initialize(component) @component = component end
Public Instance Methods
connected?()
click to toggle source
Synonym for {connected}. @return [boolean]
# File lib/rflow/component/port.rb, line 66 def connected?; connected; end