Class: Arel::Nodes::CopyStatement
- Inherits:
-
Binary
- Object
- Binary
- Arel::Nodes::CopyStatement
- Defined in:
- lib/monkeypatch_arel.rb
Instance Method Summary collapse
-
#initialize(relation = nil, options = []) ⇒ CopyStatement
constructor
A new instance of CopyStatement.
- #initialize_copy(other) ⇒ Object
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, = [] 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 |