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? :)


Of course. But that was before my morning coffee :)

Bye,
         Luigi