Class: Locomotive::Steam::Adapters::Memory::Order::Desc
- Defined in:
- lib/locomotive/steam/adapters/memory/order.rb
Instance Attribute Summary
Attributes inherited from Direction
Instance Method Summary collapse
Methods inherited from Direction
Constructor Details
This class inherits a constructor from Locomotive::Steam::Adapters::Memory::Order::Direction
Instance Method Details
#<=>(other) ⇒ Object
58 |
# File 'lib/locomotive/steam/adapters/memory/order.rb', line 58 def <=>(other); @obj && other.obj ? other.obj <=> @obj : @obj ? -1 : 1; end |