Method: Wordlist::Operators::Operator#each

Defined in:
lib/wordlist/operators/operator.rb

#each {|word| ... } ⇒ Enumerator

This method is abstract.

Place-holder method.

Yields:

  • (word)

Yield Parameters:

  • word (String)

Returns:

  • (Enumerator)

Raises:

  • (NotImplementedError)

Since:

  • 1.0.0



23
24
25
# File 'lib/wordlist/operators/operator.rb', line 23

def each(&block)
  raise(NotImplementedError,"#{self.class}#each was not implemented")
end