Module: Orderable2

Extended by:
ActiveSupport::Concern
Defined in:
lib/orderable2.rb,
lib/orderable2/railtie.rb,
lib/orderable2/version.rb

Defined Under Namespace

Classes: Railtie

Constant Summary collapse

VERSION =
'0.1.0'

Instance Method Summary collapse

Instance Method Details

#sort_order(order = nil) ⇒ Object



6
7
8
# File 'lib/orderable2.rb', line 6

def sort_order(order = nil)
  calculate_order(order)
end