Class: ArelExtensions::InsertManager::BulkValues

Inherits:
Arel::Nodes::Node show all
Defined in:
lib/arel_extensions/insert_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Arel::Nodes::Node

#rollup

Constructor Details

#initialize(cols, values) ⇒ BulkValues

Returns a new instance of BulkValues.



30
31
32
33
# File 'lib/arel_extensions/insert_manager.rb', line 30

def initialize(cols, values)
  @left = values
  @cols = cols
end

Instance Attribute Details

#colsObject

Returns the value of attribute cols.



28
29
30
# File 'lib/arel_extensions/insert_manager.rb', line 28

def cols
  @cols
end

#leftObject

Returns the value of attribute left.



28
29
30
# File 'lib/arel_extensions/insert_manager.rb', line 28

def left
  @left
end