Class: ArelExtensions::InsertManager::BulkValues

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cols, values) ⇒ BulkValues

Returns a new instance of BulkValues.



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

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

Instance Attribute Details

#colsObject

Returns the value of attribute cols.



25
26
27
# File 'lib/arel_extensions/insert_manager.rb', line 25

def cols
  @cols
end

#leftObject

Returns the value of attribute left.



25
26
27
# File 'lib/arel_extensions/insert_manager.rb', line 25

def left
  @left
end