Module: SexyScopes::Arel::PredicateMethods
- Includes:
- Arel::Predications
- Defined in:
- lib/sexy_scopes/arel/predicate_methods.rb
Instance Method Summary collapse
- #and(other) ⇒ Object (also: #&)
- #not ⇒ Object (also: #~)
- #or(other) ⇒ Object (also: #|)
Instance Method Details
#and(other) ⇒ Object Also known as: &
19 20 21 |
# File 'lib/sexy_scopes/arel/predicate_methods.rb', line 19 def and(other) SexyScopes.extend_predicate(super) end |
#not ⇒ Object Also known as: ~
9 10 11 |
# File 'lib/sexy_scopes/arel/predicate_methods.rb', line 9 def not SexyScopes.extend_predicate(super) end |
#or(other) ⇒ Object Also known as: |
14 15 16 |
# File 'lib/sexy_scopes/arel/predicate_methods.rb', line 14 def or(other) SexyScopes.extend_predicate(super) end |