class Flowckerc::MoleculePorts
Attributes
inports[RW]
outports[RW]
Public Class Methods
new()
click to toggle source
# File lib/flowckerc/tokens.rb, line 96 def initialize @inports = [] @outports = [] end
Public Instance Methods
inportByName(name)
click to toggle source
# File lib/flowckerc/tokens.rb, line 101 def inportByName name @inports.each do |port| return port if port[:name] == name end return nil end
outportByName(name)
click to toggle source
# File lib/flowckerc/tokens.rb, line 108 def outportByName name @outports.each do |port| return port if port[:name] == name end return nil end