Class: RulesProcessor::Operations::LessThanEqual
- Defined in:
- lib/rules_processor/operations/less_than_equal.rb
Instance Attribute Summary
Attributes inherited from Base
#condition, #condition_value, #field, #options, #record_class, #record_value, #records, #value
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RulesProcessor::Operations::Base
Instance Method Details
#perform ⇒ Object
5 6 7 |
# File 'lib/rules_processor/operations/less_than_equal.rb', line 5 def perform condition_value.to_i >= record_value.to_i end |