Method: DataMapper::Collection#intersection
- Defined in:
- lib/dm-core/collection.rb
#intersection(other) ⇒ Collection Also known as: &
Return the intersection with another collection
108 109 110 |
# File 'lib/dm-core/collection.rb', line 108 def intersection(other) set_operation(:&, other) end |