Sha256: e0bf39af74b2344b4cd084c89ea9f7f6a3f6c0089cfeb078997145c71a4e1a51

Contents?: true

Size: 453 Bytes

Versions: 6

Compression:

Stored size: 453 Bytes

Contents

module Wordlist
  module Operators
    #
    # Operator base class.
    #
    # @since 1.0.0
    #
    class Operator

      include Enumerable

      #
      # Place-holder method.
      #
      # @yield [word]
      #
      # @yieldparam [String] word
      #
      # @return [Enumerator]
      #
      # @abstract
      #
      def each(&block)
        raise(NotImplementedError,"#{self.class}#each was not implemented")
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wordlist-1.1.1 lib/wordlist/operators/operator.rb
wordlist-1.1.0 lib/wordlist/operators/operator.rb
wordlist-1.0.3 lib/wordlist/operators/operator.rb
wordlist-1.0.2 lib/wordlist/operators/operator.rb
wordlist-1.0.1 lib/wordlist/operators/operator.rb
wordlist-1.0.0 lib/wordlist/operators/operator.rb