[ruby-cvs:49597] nobu:r42449 (trunk): object.c: Module#singleton_class?

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 8 23:01:24 JST 2013


nobu	2013-08-08 23:01:23 +0900 (Thu, 08 Aug 2013)

  New Revision: 42449

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42449

  Log:
    object.c: Module#singleton_class?
    
    * object.c (rb_mod_singleton_p): new method Module#singleton_class? to
      return whether the receiver is a singleton class or not.
      [ruby-core:51087] [Feature #7609]

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/object.c
    trunk/test/ruby/test_class.rb


More information about the ruby-cvs mailing list