Sha256: f86484cc5ca5625e8cfb7e88dd6ed4fe559a1153ca422cc5de1a45693401dfe6

Contents?: true

Size: 282 Bytes

Versions: 10

Compression:

Stored size: 282 Bytes

Contents

module Arel
  module ArrayPredications

    # Used by both JSON and ARRAY so it doesn't try to cast to array
    def contained_by(value)
      Arel::Nodes::ContainedBy.new(self, value)
    end

    def excludes(value)
      Arel::Nodes::Excludes.new(self, value)
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arel-extensions-8.0.2 lib/arel/array_predications.rb
arel-extensions-8.0.1 lib/arel/array_predications.rb
arel-extensions-8.0.0 lib/arel/array_predications.rb
arel-extensions-7.0.3 lib/arel/array_predications.rb
arel-extensions-7.0.2 lib/arel/array_predications.rb
arel-extensions-7.0.1 lib/arel/array_predications.rb
arel-extensions-7.0.0 lib/arel/array_predications.rb
arel-extensions-6.1.0 lib/arel/array_predications.rb
arel-extensions-6.1.0.rc2 lib/arel/array_predications.rb
arel-extensions-6.1.0.rc1 lib/arel/array_predications.rb