Class: Arel::Nodes::CopyStatement

Inherits:
Binary
  • Object
show all
Defined in:
lib/monkeypatch_arel.rb

Instance Method Summary collapse

Constructor Details

#initialize(relation = nil, options = []) ⇒ CopyStatement

Returns a new instance of CopyStatement.



58
59
60
# File 'lib/monkeypatch_arel.rb', line 58

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

Instance Method Details

#initialize_copy(other) ⇒ Object



62
63
64
65
# File 'lib/monkeypatch_arel.rb', line 62

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