Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
meta-class subclass relationships
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Rick DeNatale, post: 4584835"] Well, actually they each have one instance, which is created at the same time they are (or vice-versa). This is the sense that they are 'singletons'. And I can think of at least three other classes which have single instances and can't be 'further' instantiated, although I've never heard NilClass, TrueClass, and FalseClass referred to as singleton classes. And superclass seems unsure about them from release to release. Right, as far as I can see it only comes up in the error messages when you try to subclass a class which has the FL_SINGLETON flag bit set. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
meta-class subclass relationships
Top