From: Adam Prescott Date: 2011-12-21T22:04:17+09:00 Subject: Re: Accessing class instance variables from an instance? --f46d044518232020b204b499d28c Content-Type: text/plain; charset=UTF-8 On Wed, Dec 21, 2011 at 11:57, Hans Mackowiak wrote: > < > allways do << self with an " " > Huh? `class "Foo"` isn't valid syntax for a class definition, so the presence of "class" disambiguates it. class X class < :foo X.bar #=> :bar (But in this case, I think `def self.foo` is better.) --f46d044518232020b204b499d28c--