Class: DataMapper::Query::Conditions::AndOperation
- Inherits:
-
AbstractOperation
- Object
- AbstractOperation
- DataMapper::Query::Conditions::AndOperation
- Includes:
- FlattenOperation
- Defined in:
- lib/dm-core/query/conditions/operation.rb
Overview
module FlattenOperation
Instance Attribute Summary
Attributes inherited from AbstractOperation
Instance Method Summary collapse
-
#matches?(record) ⇒ Boolean
TODO: document.
Methods included from FlattenOperation
Methods inherited from AbstractOperation
#<<, descendants, #each, inherited, #inspect, #slug, slug, #sorted_operands, #valid?
Methods included from Equalizer
Instance Method Details
#matches?(record) ⇒ Boolean
TODO: document
154 155 156 |
# File 'lib/dm-core/query/conditions/operation.rb', line 154 def matches?(record) @operands.all? { |operand| operand.matches?(record) } end |