Class: Arel::Nodes::DeleteStatement

Inherits:
Binary show all
Defined in:
lib/arel/nodes/delete_statement.rb

Instance Attribute Summary

Attributes inherited from Binary

#left, #right

Instance Method Summary collapse

Methods inherited from Node

#and, #each, #not, #or, #to_sql

Constructor Details

#initialize(relation = nil, wheres = []) ⇒ DeleteStatement

Returns a new instance of DeleteStatement.



9
10
11
# File 'lib/arel/nodes/delete_statement.rb', line 9

def initialize relation = nil, wheres = []
  super
end

Instance Method Details

#initialize_copy(other) ⇒ Object



13
14
15
16
# File 'lib/arel/nodes/delete_statement.rb', line 13

def initialize_copy other
  super
  @right = @right.clone
end