Tests whether the value in the record is less than, or equal to, the expected set for the Comparison.
Tests that the record value matches the comparison
@param [Resource, Hash] record
The record containing the value to be matched
@return [Boolean]
@api semipublic
# File lib/dm-core/query/conditions/comparison.rb, line 890 890: def matches?(record) 891: return false if expected.nil? 892: record_value = record_value(record) 893: !record_value.nil? && record_value <= expected 894: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.