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