Class: ActiveModel::Relation::WhereClause::Predicate
- Inherits:
-
Object
- Object
- ActiveModel::Relation::WhereClause::Predicate
show all
- Defined in:
- lib/active_model/relation/where_clause.rb
Instance Method Summary
collapse
Instance Method Details
#call(record) ⇒ Object
7
8
9
|
# File 'lib/active_model/relation/where_clause.rb', line 7
def call(record)
raise NotImplementedError
end
|
#invert ⇒ Object
11
12
13
|
# File 'lib/active_model/relation/where_clause.rb', line 11
def invert
NotPredicate.new(self)
end
|