From: Mathieu Bouchard Date: 2006-04-21T07:07:28+09:00 Subject: Re: [ ruby-Bugs-4151 ] Stack trace doesn't include class On Fri, 21 Apr 2006 dblack@wobblini.net wrote: > I can't think of any context where I would use the word "class" to > describe an instance of Module. I know you've lobbied for unification > of Module and Class, but as the language actually is, they're not > unified and it's definitely not wrong to use the word "class" to refer > exclusively to instances of Class. If someone say "the class that a method is defined in", the word "class" better be replaced by "the module (or class)" or "the class (or the non-class module)" or whatever. This is because, by, habit, many assume that methods are to be defined in classes, when in Ruby, it's not true (even when considering singleton classes). So, given the terminology in Ruby, what Timothy said, "it doesn't contain the name of the class containing the method", contains an assumption that is wrong in Ruby, because in this context, by "class" he means the more general "module". PS: In another language community, many users say the [foo] object instead of the [foo] class, and we haven't lynched those people yet. (And that language does have separate concepts of classes and objects). _ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - t�l:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montr�al QC Canada