Class: ParamsReady::Query::GreaterThan
- Inherits:
-
ComparisonPredicateOperator
- Object
- PredicateOperator
- ComparisonPredicateOperator
- ParamsReady::Query::GreaterThan
- Defined in:
- lib/params_ready/query/predicate_operator.rb
Class Method Summary collapse
Methods inherited from PredicateOperator
Class Method Details
.test(record, attribute_name, value) ⇒ Object
90 91 92 93 |
# File 'lib/params_ready/query/predicate_operator.rb', line 90 def self.test(record, attribute_name, value) attribute = record.send attribute_name attribute > value end |