Em Tue, 07 Nov 2006 09:45:12 +0900, Michael Fellinger escreveu:
> class Compare
>   attr_accessor :a
> 
>   def initialize a
>     @a = a
>   end
> 
>   def > arg
>     puts "Yep!" if @a > arg
>   end
> end

Thanks. Done ;)
-- 
pedro mg
ruby 1.8.4 (2005-12-24) [i486-linux]
irb 0.9.5(05/04/13)
Linux xubuntu 2.6.17-10-generic #2 SMP i686 GNU/Linux