Sha256: c4f10ab461582823e6a92ed53fcc435ab7112fd405780321c0b5b30af58eaf5c

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require 'wordlist/list_methods'

module Wordlist
  #
  # The base class for all wordlist classes.
  #
  # @since 1.0.0
  #
  class AbstractWordlist

    include Enumerable
    include ListMethods

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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wordlist-1.0.0 lib/wordlist/abstract_wordlist.rb