From: Phrogz Date: 2008-02-15T09:20:01+09:00 Subject: Re: object specific methods and id On Feb 14, 5:08 pm, 7stud -- wrote: > According to pickaxe2, that is correct. However, the anonymous class is > called an 'anonymous' for a reason: it has no name. So, what would > obj.class return if that were to retrieve the name of the anonymous > class? It would return what it does: irb(main):001:0> class << "foo"; self; end => #> The reason .class doesn't return the eigenclass has nothing to do with it being 'hard' to represent. It's because it's still not the class of the object. It's not a module, either, though it also behaves like one. It is its own thing.