From: Gpy Good Date: 2007-05-06T10:17:33+09:00 Subject: Re: How can I output an object/variable's name? output an object/variable's name: class Person def love(name) # out put a love b end end boy = Person.new girl=Person.new boy.love(girl) #=>should output "boy love girl" I think this is very nice feature!~ -- Posted via http://www.ruby-forum.com/.