method
new
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::StatementCache::BindMap
new(bound_attributes)public
No documentation available.
# File activerecord/lib/active_record/statement_cache.rb, line 72
def initialize(bound_attributes)
@indexes = []
@bound_attributes = bound_attributes
bound_attributes.each_with_index do |attr, i|
if Substitute === attr.value
@indexes << i
end
end
end