Class: Returning::Arel::Nodes::Returning
- Inherits:
-
Arel::Nodes::Node
- Object
- Arel::Nodes::Node
- Returning::Arel::Nodes::Returning
- Defined in:
- lib/returning/arel/nodes/returning.rb
Instance Attribute Summary collapse
-
#returnings ⇒ Object
Returns the value of attribute returnings.
Instance Method Summary collapse
-
#initialize(returnings) ⇒ Returning
constructor
A new instance of Returning.
- #initialize_copy(other) ⇒ Object
Constructor Details
#initialize(returnings) ⇒ Returning
Returns a new instance of Returning.
7 8 9 |
# File 'lib/returning/arel/nodes/returning.rb', line 7 def initialize(returnings) @returnings = returnings end |
Instance Attribute Details
#returnings ⇒ Object
Returns the value of attribute returnings.
5 6 7 |
# File 'lib/returning/arel/nodes/returning.rb', line 5 def returnings @returnings end |
Instance Method Details
#initialize_copy(other) ⇒ Object
11 12 13 14 |
# File 'lib/returning/arel/nodes/returning.rb', line 11 def initialize_copy other super @returnings = @returnings.clone if @returnings end |