Class: Arel::Nodes::Copy
- Inherits:
-
Binary
- Object
- Binary
- Arel::Nodes::Copy
- Defined in:
- lib/monkeypatch_arel.rb
Instance Method Summary collapse
-
#initialize(statement = nil, from = nil) ⇒ Copy
constructor
A new instance of Copy.
- #initialize_copy(other) ⇒ Object
Constructor Details
#initialize(statement = nil, from = nil) ⇒ Copy
Returns a new instance of Copy.
42 43 44 |
# File 'lib/monkeypatch_arel.rb', line 42 def initialize statement = nil, from = nil super end |
Instance Method Details
#initialize_copy(other) ⇒ Object
46 47 48 49 |
# File 'lib/monkeypatch_arel.rb', line 46 def initialize_copy other super @right = @right.clone end |