Class: PureData::Outlet

Inherits:
IOlet
  • Object
show all
Defined in:
lib/puredata/connection.rb

Instance Attribute Summary

Attributes inherited from IOlet

#idx

Instance Method Summary collapse

Methods inherited from IOlet

#canvas, #check_canvas, #initialize, #name, #pair, #pdobjid

Constructor Details

This class inherits a constructor from PureData::IOlet

Instance Method Details

#>>(other) ⇒ Object



57
58
59
60
61
62
63
64
# File 'lib/puredata/connection.rb', line 57

def >>(other)
  if other.is_a?(PdObject)
    other = other.inlet
  end
  check_canvas(other)
  @obj.canvas.connect(self, other)
  other
end

#outlet_tupleObject



53
54
55
# File 'lib/puredata/connection.rb', line 53

def outlet_tuple
  [@obj, @idx]
end