module Frodo::Query::Criteria::ComparisonOperators

Public Instance Methods

eq(value) click to toggle source

Sets up equality operator. @param value [to_s] @return [self]

# File lib/frodo/query/criteria/comparison_operators.rb, line 8
def eq(value)
  set_operator_and_value(:eq, value)
end
ge(value) click to toggle source

Sets up greater-than-or-equal operator. @param value [to_s] @return [self]

# File lib/frodo/query/criteria/comparison_operators.rb, line 29
def ge(value)
  set_operator_and_value(:ge, value)
end
gt(value) click to toggle source

Sets up greater-than operator. @param value [to_s] @return [self]

# File lib/frodo/query/criteria/comparison_operators.rb, line 22
def gt(value)
  set_operator_and_value(:gt, value)
end
le(value) click to toggle source

Sets up less-than-or-equal operator. @param value [to_s] @return [self]

# File lib/frodo/query/criteria/comparison_operators.rb, line 43
def le(value)
  set_operator_and_value(:le, value)
end
lt(value) click to toggle source

Sets up less-than operator. @param value [to_s] @return [self]

# File lib/frodo/query/criteria/comparison_operators.rb, line 36
def lt(value)
  set_operator_and_value(:lt, value)
end
ne(value) click to toggle source

Sets up non-equality operator. @param value [to_s] @return [self]

# File lib/frodo/query/criteria/comparison_operators.rb, line 15
def ne(value)
  set_operator_and_value(:ne, value)
end