# File lib/arel/nodes/update_statement.rb, line 7 def initialize @relation = nil @wheres = [] @values = [] @orders = [] @limit = nil @key = nil end
# File lib/arel/nodes/update_statement.rb, line 26 def eql? other self.class == other.class && self.relation == other.relation && self.wheres == other.wheres && self.values == other.values && self.orders == other.orders && self.limit == other.limit && self.key == other.key end
# File lib/arel/nodes/update_statement.rb, line 22 def hash [@relation, @wheres, @values, @orders, @limit, @key].hash end
# File lib/arel/nodes/update_statement.rb, line 16 def initialize_copy other super @wheres = @wheres.clone @values = @values.clone end