From: Intransition on 7 Aug 2010 09:51 Anyone have a term, for an attribute name, meaning "Class or Module". I probably would just use #class but that's a keyword so that's out. So far I've tried #scope and #namespace, but neither seem quite right. Any suggestions?
From: Jacob Mitchell on 7 Aug 2010 10:24 [Note: parts of this message were removed to make it a legal post.] People sometimes use "klass". As for module, I haven't ever found a need for that, but perhaps "component" would be good.
From: Chris Mear on 7 Aug 2010 10:28 On 2010-08-07 14:51:16 +0100, Intransition said: > Anyone have a term, for an attribute name, meaning "Class or Module". > I probably would just use #class but that's a keyword so that's out. > So far I've tried #scope and #namespace, but neither seem quite right. > Any suggestions? I've seen the deliberate mispelling #klass used before. Chris
From: Jesús Gabriel y Galán on 7 Aug 2010 17:33 On Sat, Aug 7, 2010 at 3:51 PM, Intransition <transfire(a)gmail.com> wrote: > Anyone have a term, for an attribute name, meaning "Class or Module". > I probably would just use #class but that's a keyword so that's out. > So far I've tried #scope and #namespace, but neither seem quite right. > Any suggestions? class_or_module ? Jesus.
From: Caleb Clausen on 7 Aug 2010 17:54
On 8/7/10, Intransition <transfire(a)gmail.com> wrote: > Anyone have a term, for an attribute name, meaning "Class or Module". > I probably would just use #class but that's a keyword so that's out. > So far I've tried #scope and #namespace, but neither seem quite right. > Any suggestions? #class is a perfectly fine name for a method. So is #module. Ruby is, as you nknow very forgiving about letting you use keywords for method names. Unless this method is going to be called without a receiver (inside the class where you define it) a lot, there will be no awkwardness about calling it. |