From: Benny Date: 2004-08-09T21:51:19+09:00 Subject: stupid question: Object#name hi all, its time for stupid questions again :) is there a way to get the name of an object, e.g. test = MyClass.new test.name #=> "test" I know we have it for classes (and yes: I could use a subclass instead) but is there a way to do it with objects? btw. why didn't matz make Class and Object be the same thing? kind greetings to all the rubyists. benny (btw. I like ruby very much and using it as my primary programing language, but every now and then when using it I am feeling like a child on another planet. so the principal of least surprise didnt work for me at all (every exploration was a big surprise, but a good one ))