Sha256: 89cee13dced179311fffa10498f843ffba618a8476b39026b1e6790fb3008d55

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

require 'set'

module SPNet
class SignalOutPort < OutPort

  def initialize hashed_args = {}
    hashed_args.merge!(:matching_port_class => SignalInPort)
    super(hashed_args)
  end
  
  def send_values values
    @links.each do |link|
      link.enqueue_values values
    end
  end

end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spnet-0.1.4 lib/spnet/ports/signal_out_port.rb
spnet-0.1.3 lib/spnet/ports/signal_out_port.rb