At 07:26 PM 6/15/01 +0900, Aleksei Guzev wrote: >You wrote: > > class Fixnum > def odd? > if self%2 == 0 > false > else > true > end > end >end > >2.odd? --> false > >-------------------------------- > >class Fixnum > def odd? > self % 2 != 0 > end >End > >Isn't it? :) Oh, now I remember. I also wanted to show that the value of an "if" statement itself is the value of the chosen clause. I guess I should have stressed that. I also admit I chose a pretty lame example... Bye, Luigi