Class: Arel::Nodes::Descending
- Inherits:
-
Ordering
- Object
- Ordering
- Arel::Nodes::Descending
- Defined in:
- ext/arel/nodes/descending.rb
Instance Attribute Summary collapse
-
#nulls ⇒ Object
Returns the value of attribute nulls.
Instance Method Summary collapse
-
#initialize(expr, nulls = nil) ⇒ Descending
constructor
A new instance of Descending.
- #reverse ⇒ Object
Constructor Details
#initialize(expr, nulls = nil) ⇒ Descending
Returns a new instance of Descending.
7 8 9 10 |
# File 'ext/arel/nodes/descending.rb', line 7 def initialize expr, nulls=nil super(expr) @nulls = nulls end |
Instance Attribute Details
#nulls ⇒ Object
Returns the value of attribute nulls.
5 6 7 |
# File 'ext/arel/nodes/descending.rb', line 5 def nulls @nulls end |