Class: ActiveRecord::Refined::AST::Predicate
- Inherits:
-
Node
- Object
- Node
- ActiveRecord::Refined::AST::Predicate
show all
- Defined in:
- lib/active_record/refined/ast.rb
Instance Method Summary
collapse
Methods inherited from Node
#as, #asc, #desc, #to_arel
Instance Method Details
#! ⇒ Object
31
32
33
|
# File 'lib/active_record/refined/ast.rb', line 31
def !
Not.new(self)
end
|
#&(other) ⇒ Object
23
24
25
|
# File 'lib/active_record/refined/ast.rb', line 23
def &(other)
And.new(self, other)
end
|
#|(other) ⇒ Object
27
28
29
|
# File 'lib/active_record/refined/ast.rb', line 27
def |(other)
Or.new(self, other)
end
|