From: Shugo Maeda Date: 2010-02-23T23:48:54+09:00 Subject: [ruby-core:28312] Re: [Feature #1082] add Object#singleton_class method Hi, 2010/2/23 James Edward Gray II : >> He said that it may be worth considering whether >> singleton_class should provide an (optional) way to tell the existence >> of a singleton class. > > I think I would rather have another method for that, than a boolean flag: Then, how about to introduce singleton_class as just a short form of class < �singleton_class? x.singleton_class? sounds like "Is x a singleton class?", doesn't it? -- Shugo Maeda