From: Kent Sibilev Date: 2006-08-23T08:19:27+09:00 Subject: Re: How can't i modify the to_s method in Integer Class? You shoud use Fixnum class instead of Integer. On 8/22/06, Grab Mail wrote: > class Integer > > def to_s > '9' > end > > end > > puts 5.to_s > > I'm still getting 5. > > -- > Posted via http://www.ruby-forum.com/. > > -- Kent --- http://www.datanoise.com