Class: Arel::Nodes::Over
- Includes:
- AliasPredication
- Defined in:
- lib/arel/nodes/over.rb
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
-
#initialize(left, right = nil) ⇒ Over
constructor
A new instance of Over.
- #operator ⇒ Object
Methods included from AliasPredication
Methods inherited from Binary
#eql?, #hash, #initialize_copy
Methods inherited from Node
#_caller, #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
#initialize(left, right = nil) ⇒ Over
Returns a new instance of Over.
8 9 10 |
# File 'lib/arel/nodes/over.rb', line 8 def initialize(left, right = nil) super(left, right) end |
Instance Method Details
#operator ⇒ Object
12 |
# File 'lib/arel/nodes/over.rb', line 12 def operator; 'OVER' end |