module Arel::ArrayPredications

Public Instance Methods

contained_by(value) click to toggle source

Used by both JSON and ARRAY so it doesn’t try to cast to array

# File lib/arel/array_predications.rb, line 5
def contained_by(value)
  Arel::Nodes::ContainedBy.new(self, value)
end
excludes(value) click to toggle source
# File lib/arel/array_predications.rb, line 9
def excludes(value)
  Arel::Nodes::Excludes.new(self, value)
end