Module: ActiveRecord::Inequality::WrapperMethods
- Defined in:
- lib/inequal_opportunity.rb
Instance Method Summary collapse
- #gt(val) ⇒ Object
- #gte(val) ⇒ Object
- #like(val) ⇒ Object
- #lt(val) ⇒ Object
- #lte(val) ⇒ Object
- #ne(val) ⇒ Object
Instance Method Details
#gt(val) ⇒ Object
100 101 102 |
# File 'lib/inequal_opportunity.rb', line 100 def gt(val) ActiveRecord::Inequality::GreaterThan.new(val) end |
#gte(val) ⇒ Object
96 97 98 |
# File 'lib/inequal_opportunity.rb', line 96 def gte(val) ActiveRecord::Inequality::GreaterThanEqual.new(val) end |
#like(val) ⇒ Object
108 109 110 |
# File 'lib/inequal_opportunity.rb', line 108 def like(val) ActiveRecord::Inequality::Like.new(val) end |
#lt(val) ⇒ Object
92 93 94 |
# File 'lib/inequal_opportunity.rb', line 92 def lt(val) ActiveRecord::Inequality::LessThan.new(val) end |
#lte(val) ⇒ Object
88 89 90 |
# File 'lib/inequal_opportunity.rb', line 88 def lte(val) ActiveRecord::Inequality::LessThanEqual.new(val) end |
#ne(val) ⇒ Object
104 105 106 |
# File 'lib/inequal_opportunity.rb', line 104 def ne(val) ActiveRecord::Inequality::NotEqual.new(val) end |