Module: Put::NilExtension
- Defined in:
- lib/put/nil_ext.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/put/nil_ext.rb', line 3 def <=>(other) if ::Put::PutsThing === other -(other <=> self) else super end end |