Sha256: bafda4a8c70db1cb90666f2be6de1afdf3f55641278a3fb8f67feb2ebd783a27

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true

module UniqueNamesGenerator
  module Dictionaries
    # Dictionary containing numbers
    module Numbers
      TERMS = (1..999).freeze

      def self.list_all
        TERMS.map(&:to_s)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unique_names_generator-0.2.0 lib/unique_names_generator/dictionaries/numbers.rb
unique_names_generator-0.1.2 lib/unique_names_generator/dictionaries/numbers.rb
unique_names_generator-0.1.1 lib/unique_names_generator/dictionaries/numbers.rb
unique_names_generator-0.1.0 lib/unique_names_generator/dictionaries/numbers.rb