Class: RulesProcessor::Operations::LessThan

Inherits:
Base
  • Object
show all
Defined in:
lib/rules_processor/operations/less_than.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

#initialize

Constructor Details

This class inherits a constructor from RulesProcessor::Operations::Base

Instance Method Details

#performObject



5
6
7
# File 'lib/rules_processor/operations/less_than.rb', line 5

def perform
  condition_value.to_i > record_value.to_i
end