class SPNet::OutPort

A port that is used to exercise some functionality exposed by an InPort.

@author James Tunnell

Constants

ARG_SPECS

Define ArgSpec's to use in processing hashed arguments during initialize.

Attributes

matching_class[R]
name[R]

Public Class Methods

new(args) click to toggle source

A new instance of OutPort. @param [Hash] args Hashed arguments for initialization. See OutPort::ARG_SPECS

for details.
# File lib/spnet/core/out_port.rb, line 19
def initialize args
  hash_make args, OutPort::ARG_SPECS
  @link = nil
end

Public Instance Methods

linked?() click to toggle source

Return true if @link is not nil.

# File lib/spnet/core/out_port.rb, line 36
def linked?
  !link.nil?
end