Class: Locomotive::Steam::Adapters::Memory::Order::Direction

Inherits:
Object
  • Object
show all
Defined in:
lib/locomotive/steam/adapters/memory/order.rb

Direct Known Subclasses

Asc, Desc

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Direction

Returns a new instance of Direction.



50
# File 'lib/locomotive/steam/adapters/memory/order.rb', line 50

def initialize(obj); @obj = obj; end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



49
50
51
# File 'lib/locomotive/steam/adapters/memory/order.rb', line 49

def obj
  @obj
end