Sha256: 796a5d1b5b522784ef0269e8d8e190976564be15f408dd9f9ea293e8b75d87e8
Contents?: true
Size: 485 Bytes
Versions: 39
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module Arel # :nodoc: all 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 private attr_reader :quoter, :delegate end end end
Version data entries
39 entries across 39 versions & 4 rubygems