Sha256: 230dc11c1d406b66b0ba69139682ed1ba0265afc84f23320799283f2aaa5a69b
Contents?: true
Size: 469 Bytes
Versions: 4
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true module Arel module Collectors class SubstituteBinds def initialize(quoter, delegate_collector) @quoter = quoter @delegate = delegate_collector end def << str delegate << str self end def add_bind bind self << quoter.quote(bind) end def value delegate.value end protected attr_reader :quoter, :delegate end end end
Version data entries
4 entries across 4 versions & 3 rubygems