Method: Wordlist::ListMethods#intersect
- Defined in:
- lib/wordlist/list_methods.rb
#intersect(other) ⇒ Operators::Intersect Also known as: &
Lazily enumerates over every word that belongs to both wordlists.
151 152 153 |
# File 'lib/wordlist/list_methods.rb', line 151 def intersect(other) Operators::Intersect.new(self,other) end |