class Smartdown::Model::Predicate::Comparison::Greater

Public Instance Methods

evaluate(state) click to toggle source
# File lib/smartdown/model/predicate/comparison/greater.rb, line 9
def evaluate(state)
  variable = state.get(varname)
  variable > value
end
humanize() click to toggle source
# File lib/smartdown/model/predicate/comparison/greater.rb, line 14
def humanize
  "#{varname} > #{value}"
end