From: Kent Dahl Date: 2003-07-11T19:13:37+09:00 Subject: Re: Ruby T-Shirt Idea daz wrote: > > "Austin King" wrote: > > Here is a color preview ( no images just CSS ) > > http://www.ozten.com/random/ruby-shirt.html > > Before committing to cotton, could I recommend > this patch for your T-shirt?: > > --- DfB\TEMP\clruby\TShirt_o.rb Fri Jul 11 06:49:26 2003 > +++ DfB\TEMP\clruby\TShirt_p.rb Fri Jul 11 06:50:16 2003 > @@ -4,5 +4,5 @@ > super( name, talent ) > @productivity = CodeFu.MASTER * talent > - @stress_level = @stress_level / 2 > + @stress_level /= 2 > @street_cred = true > end While we're picking nits, I noticed that "CodeFu.MASTER" doesn't work if MASTER is a constant (which seems natural). Ruby thinks it is a method due to the ".", so perhaps CodeFu::MASTER would be better. -- (\[ Kent Dahl ]/)_ _~_ _____[ http://www.pvv.org/~kentda/ ]_____/~ ))\_student_/(( \__d L b__/ (pre-) Master of Science in Technology ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)