Define Class#singleton_instance #142

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@ryoqun
ryoqun commented Jul 8, 2012

Hi, I defined a new instance method for Class. It's called singleton_instance. It returns the attached instance from a singleton Class. In short, it's the reversed version of the Kernel#singleton_class getter method.

This pull request has a corresponding issue on Ruby Issue Tracking System: https://bugs.ruby-lang.org/issues/6682

@shyouhei shyouhei pushed a commit that referenced this pull request Jul 25, 2012
kanemoto avoid compilation error on AIX by -ansi -std=iso9899:199409 (r36038).…
… [ruby-core:46744] [Bug #6791].

This issue is fixed in upper stream as issue #142. (flori/json#142)



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
48cb947
@zzak
Member
zzak commented Nov 18, 2012

Closing this, please refer to Feature #6682 on redmine

@zzak zzak closed this Nov 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment