Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
NilClass
< Object
16 instance methods
The class of the singleton object nil.
Several of its methods act as operators:
Others act as converters, carrying the concept of nullity to other classes:
Another method provides inspection:
Finally, there is this query method: