El MińÓcoles, 20 de Agosto de 2008, Michael Granger escribi > You can do this with singleton methods: > > irb(main):001:0> object = Object.new > => #<Object:0x304af8> > > irb(main):002:0> def object.say_time; Time.now; end > => nil > > irb(main):003:0> object.say_time > => Wed Aug 20 10:13:29 -0700 2008 Thanks to both :) -- Iki Baz Castillo