Sha256: fdc9ab614a401cefe7dd1f892404d983810b28858cdc1e6e97cee2ba86924f29

Contents?: true

Size: 396 Bytes

Versions: 9

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  module Collectors
    class Bind
      def initialize
        @binds = []
      end

      def <<(str)
        self
      end

      def add_bind(bind)
        @binds << bind
        self
      end

      def add_binds(binds)
        @binds.concat binds
        self
      end

      def value
        @binds
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activerecord-6.1.3.2 lib/arel/collectors/bind.rb
activerecord-6.1.3.1 lib/arel/collectors/bind.rb
activerecord-6.1.3 lib/arel/collectors/bind.rb
activerecord-6.1.2.1 lib/arel/collectors/bind.rb
activerecord-6.1.2 lib/arel/collectors/bind.rb
activerecord-6.1.1 lib/arel/collectors/bind.rb
activerecord-6.1.0 lib/arel/collectors/bind.rb
activerecord-6.1.0.rc2 lib/arel/collectors/bind.rb
activerecord-6.1.0.rc1 lib/arel/collectors/bind.rb