Class: Arel::Nodes::DeleteStatement
- Defined in:
- lib/arel/nodes/delete_statement.rb
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
-
#initialize(relation = nil, wheres = []) ⇒ DeleteStatement
constructor
A new instance of DeleteStatement.
- #initialize_copy(other) ⇒ Object
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 |