Module: Arel::OrderPredications
- Included in:
- Attributes::Attribute, Nodes::InfixOperation, Nodes::SqlLiteral
- Defined in:
- lib/arel/order_predications.rb
Instance Method Summary collapse
Instance Method Details
#asc ⇒ Object
4 5 6 |
# File 'lib/arel/order_predications.rb', line 4 def asc Nodes::Ascending.new self end |
#desc ⇒ Object
8 9 10 |
# File 'lib/arel/order_predications.rb', line 8 def desc Nodes::Descending.new self end |