Method: Arel::Nodes::UpdateStatement#initialize_copy

Defined in:
activerecord/lib/arel/nodes/update_statement.rb

#initialize_copy(other) ⇒ Object



21
22
23
24
25
# File 'activerecord/lib/arel/nodes/update_statement.rb', line 21

def initialize_copy(other)
  super
  @wheres = @wheres.clone
  @values = @values.clone
end