Sha256: 07e2194537b22ff5fbd16273fb99442d4bf83e1988c7aef9b94c2fbd2f5a91f2

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

module Arel
  module Collectors
    class Bind
      def initialize
        @binds = []
      end

      def << str
        self
      end

      def add_bind bind
        @binds << bind
        self
      end

      def value
        @binds
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/bind.rb
spiral_form-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/bind.rb
nullifyable-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/bind.rb
arel-9.0.0 lib/arel/collectors/bind.rb