class Dry::Rules::GreaterThan
Public Instance Methods
name()
click to toggle source
# File lib/dry/rules/greater_than.rb, line 12 def name 'gt' end
valid?()
click to toggle source
# File lib/dry/rules/greater_than.rb, line 5 def valid? return true if left > right add_error false end