Class: Arel::Nodes::CurrentRow

Inherits:
Node
  • Object
show all
Defined in:
lib/arel/nodes/window.rb

Instance Method Summary collapse

Methods inherited from Node

#_caller, #and, #each, #initialize, #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::Node

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


88
89
90
# File 'lib/arel/nodes/window.rb', line 88

def eql? other
  self.class == other.class
end

#hashObject



84
85
86
# File 'lib/arel/nodes/window.rb', line 84

def hash
  self.class.hash
end