Sha256: 1b819186a53d097d7d57f74c0f86a940fcce831c42a969217dd66a1c8564a58a

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true
require_relative '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.1.1 lib/wordlist/abstract_wordlist.rb