class Integer def to_s '9' end end puts 5.to_s I'm still getting 5. -- Posted via http://www.ruby-forum.com/.