Tests whether the value in the record is contained in the expected set for the Comparison, where expected is an Array, Range, or Set.
Checks that the Comparison is valid
@see DataMapper::Query::Conditions::AbstractComparison#valid?
@return [Boolean]
@api semipublic
# File lib/dm-core/query/conditions/comparison.rb, line 583 def valid? loaded_value = self.loaded_value case loaded_value when Collection then valid_collection?(loaded_value) when Range then valid_range?(loaded_value) when Enumerable then valid_enumerable?(loaded_value) else false end end
Generated with the Darkfish Rdoc Generator 2.