Class: JqueryQueryBuilder::Operators::NotBetween

Inherits:
Object
  • Object
show all
Defined in:
lib/jquery_query_builder/operators/not_between.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(input, bounds) ⇒ Object



4
5
6
# File 'lib/jquery_query_builder/operators/not_between.rb', line 4

def evaluate(input, bounds)
  input <= bounds[0] || input >= bounds[1]
end