class ParamsReady::Query::GreaterThan

Public Class Methods

test(record, attribute_name, value) click to toggle source
# 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