Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Kernel#singleton_class? predicate method
This method is a convenient way to know whether a given object is a singleton class or not. This feature has been added in Ruby 2.1 (see https://bugs.ruby-lang.org/issues/7609 for further information).
- Loading branch information