Class: Momomoto::Order::Asc

Inherits:
Momomoto::Order show all
Defined in:
lib/momomoto/order.rb

Overview

This class is used for ascending orders. It is derived from the Order class where you can find more information on usage.

Instance Attribute Summary

Attributes inherited from Momomoto::Order

#fields

Instance Method Summary collapse

Methods inherited from Momomoto::Order

#initialize, #to_sql

Constructor Details

This class inherits a constructor from Momomoto::Order

Instance Method Details

#function(argument) ⇒ Object

translates argument to SQL statement for ascending.



99
100
101
# File 'lib/momomoto/order.rb', line 99

def function( argument )
  "#{argument} asc"
end