Module: Ambition::Order
- Included in:
- Ambition
- Defined in:
- lib/ambition/lib/ambition/order.rb
Instance Method Summary collapse
Instance Method Details
#sort_by(&block) ⇒ Object
3 4 5 |
# File 'lib/ambition/lib/ambition/order.rb', line 3 def sort_by(&block) query_context.add OrderProcessor.new(table_name, block) end |