class Arel::Nodes::ValuesList

Attributes

rows[R]

Public Class Methods

new(rows) click to toggle source
Calls superclass method Arel::Nodes::Node.new
# File lib/arel/nodes/values_list.rb, line 6
def initialize(rows)
  @rows = rows
  super()
end

Public Instance Methods

==(other)
Alias for: eql?
eql?(other) click to toggle source
# File lib/arel/nodes/values_list.rb, line 15
def eql? other
  self.class == other.class &&
    self.rows == other.rows
end
Also aliased as: ==
hash() click to toggle source
# File lib/arel/nodes/values_list.rb, line 11
def hash
  @rows.hash
end