Class: Alchemrest::Transforms::Constraint::GreaterThanOrEq

Inherits:
Alchemrest::Transforms::Constraint show all
Defined in:
lib/alchemrest/transforms/constraint/greater_than_or_eq.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject



13
14
15
# File 'lib/alchemrest/transforms/constraint/greater_than_or_eq.rb', line 13

def description
  "greater than or equal to #{value}"
end

#meets_conditions?(input) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/alchemrest/transforms/constraint/greater_than_or_eq.rb', line 9

def meets_conditions?(input)
  input >= value
end