class Wordlist::Operators::Operator

Operator base class.

@since 1.0.0

Public Instance Methods

each(&block) click to toggle source

Place-holder method.

@yield [word]

@yieldparam [String] word

@return [Enumerator]

@abstract

# File lib/wordlist/operators/operator.rb, line 23
def each(&block)
  raise(NotImplementedError,"#{self.class}#each was not implemented")
end