Actions
Bug #11063
closedSpecial singleton class should return true for singleton_class? test
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Tags:
Description
This seems wrong (or at least inconsistent):
nil.singleton_class.singleton_class? #=> false
true.singleton_class.singleton_class? #=> false
false.singleton_class.singleton_class? #=> false
Files
Actions
Like0
Like0Like0Like0Like0