Class: Momomoto::Order::Desc
- Inherits:
-
Momomoto::Order
- Object
- Momomoto::Order
- Momomoto::Order::Desc
- Defined in:
- lib/momomoto/order.rb
Overview
This class is used for descending orders. It is derived from the Order class where you can find more information on usage.
Instance Attribute Summary
Attributes inherited from Momomoto::Order
Instance Method Summary collapse
-
#function(argument) ⇒ Object
translates
argument
to SQL statement for descending.
Methods inherited from Momomoto::Order
Constructor Details
This class inherits a constructor from Momomoto::Order
Instance Method Details
#function(argument) ⇒ Object
translates argument
to SQL statement for descending.
109 110 111 |
# File 'lib/momomoto/order.rb', line 109 def function( argument ) "#{argument} desc" end |