# File rbSnack/tkSnack.rb, line 597 def length=(n, units=nil) #Incase options where specified as hash, accept it anyway return Snack::exeTkCmd([@name, 'length', n], units) if units.type==Hash options={} options = { 'unit'=>units } unless units ==nil Snack::exeTkCmd([@name, 'length', n], options) end