# File rbSnack/tkSnack.rb, line 921 def newArgsCheck( inGain, outGain, delay, decay, *args) raise "inGain must be between 0.0 and 1.0" unless 0.0<=inGain and inGain<=1.0 raise "outGain must be between 0.0 and 1.0" unless 0.0<=outGain and outGain<=1.0 raise "delay, decay must be in pairs" unless args.length%2==0 end