Class: Locomotive::Steam::Adapters::Memory::Order::Asc
- 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
54 |
# File 'lib/locomotive/steam/adapters/memory/order.rb', line 54 def <=>(other) @obj && other.obj ? @obj <=> other.obj : @obj ? -1 : 1; end |