class ActiveRecord::StatementCache::PartialQueryCollector
Public Class Methods
new()
click to toggle source
# File lib/active_record/statement_cache.rb, line 59 def initialize @parts = [] @binds = [] end
Public Instance Methods
<<(str)
click to toggle source
# File lib/active_record/statement_cache.rb, line 64 def <<(str) @parts << str self end
add_bind(obj)
click to toggle source
# File lib/active_record/statement_cache.rb, line 69 def add_bind(obj) @binds << obj @parts << Substitute.new self end
value()
click to toggle source
# File lib/active_record/statement_cache.rb, line 75 def value [@parts, @binds] end