class Bouncer

Attributes

chn[RW]
del[RW]
done[RW]
inc[RW]
leng[RW]
running[RW]
sender[RW]
turned_on[RW]
val[RW]

Public Class Methods

new(packet=nil,chn=0,leg=4) click to toggle source
# File lib/melody_object/Mo_h_hc.rb, line 31
def initialize(packet=nil,chn=0,leg=4)
  @running=true
  @inc=0
  @turned_on=false
  @val=packet
  @chn=chn
  leg=4 if leg.nil?
  @leng=leg
  #~ puts @leng
end

Public Instance Methods

uf() click to toggle source
# File lib/melody_object/Mo_h_hc.rb, line 42
def uf
   Marshal::load(Marshal.dump(self))
end