Class: Returning::Arel::Nodes::Returning

Inherits:
Arel::Nodes::Node
  • Object
show all
Defined in:
lib/returning/arel/nodes/returning.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#returningsObject

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