NilComparable does two things. First it make nil comparable, such that all things (except itself) are greater than it.
Secondly it provides a module called NilComparable to include into any other class to allow it to compare itself to NilClass as the greater of the two.
Usage
TODO
Author(s)
- Paul Brannan
- Thomas Sawyer
Methods
Public Class methods
included( mod )
[ source ]