Class: Arel::Nodes::Descending
- Defined in:
- lib/arel/nodes/descending.rb
Instance Attribute Summary
Attributes inherited from Unary
Instance Method Summary collapse
Methods inherited from Unary
Methods inherited from Node
#and, #each, #not, #or, #to_sql
Methods included from FactoryMethods
#create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, #lower
Constructor Details
This class inherits a constructor from Arel::Nodes::Unary
Instance Method Details
#ascending? ⇒ Boolean
13 14 15 |
# File 'lib/arel/nodes/descending.rb', line 13 def ascending? false end |
#descending? ⇒ Boolean
17 18 19 |
# File 'lib/arel/nodes/descending.rb', line 17 def descending? true end |
#direction ⇒ Object
9 10 11 |
# File 'lib/arel/nodes/descending.rb', line 9 def direction :desc end |