From: daz Date: 2003-07-12T08:38:36+09:00 Subject: Re: Ruby T-Shirt Idea "Brian Candler" wrote: > On Fri, Jul 11, 2003 at 03:31:00PM +0900, daz wrote: > > - @stress_level = @stress_level / 2 > > + @stress_level.shift > > irb(main):001:0> 5.shift > NameError: undefined method `shift' for 5:Fixnum > > irb(main):001:0> {:your => 'high'}.shift => [:your, "high"] irb(main):002:0> exit Probably a result of hopping out of the GPL thread next door ? You want the "arguments" room, down the corridor where you will, surely, find ... irb(main):001:0> @stress_level.shift NoMethodError: undefined method `shift' for nil:NilClass from (irb):1 daz