Class: Arel::Predicates::All
Instance Attribute Summary
Attributes inherited from Polyadic
#predicates
Instance Method Summary
collapse
Methods inherited from Polyadic
#==, #bind, build, #eval, #initialize, #to_sql
Methods inherited from Predicate
#and, #not, #or
Instance Method Details
#complement ⇒ Object
75
76
77
|
# File 'lib/arel/algebra/predicates.rb', line 75
def complement
Any.new(*predicates.map {|p| p.complement})
end
|
#compounder ⇒ Object
79
|
# File 'lib/arel/algebra/predicates.rb', line 79
def compounder; :all? end
|
#predicate_sql ⇒ Object
81
|
# File 'lib/arel/algebra/predicates.rb', line 81
def predicate_sql; "AND" end
|