Define Class#singleton_instance #142

wants to merge 1 commit into


2 participants

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:

shyouhei pushed a commit that referenced this pull request Jul 25, 2012

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:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e

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