Sha256: 21587fdbe31c9907a3c51a851707afb92fd4d8874a2b823894e3dcf2c37b7552

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

# frozen_string_literal: true

module UniqueNamesGenerator
  module Dictionaries
    # Dictionary containing colors
    module Colors
      TERMS = [
        'amaranth',
        'amber',
        'amethyst',
        'apricot',
        'aqua',
        'aquamarine',
        'azure',
        'beige',
        'black',
        'blue',
        'blush',
        'bronze',
        'brown',
        'chocolate',
        'coffee',
        'copper',
        'coral',
        'crimson',
        'cyan',
        'emerald',
        'fuchsia',
        'gold',
        'gray',
        'green',
        'harlequin',
        'indigo',
        'ivory',
        'jade',
        'lavender',
        'lime',
        'magenta',
        'maroon',
        'moccasin',
        'olive',
        'orange',
        'peach',
        'pink',
        'plum',
        'purple',
        'red',
        'rose',
        'salmon',
        'sapphire',
        'scarlet',
        'silver',
        'tan',
        'teal',
        'tomato',
        'turquoise',
        'violet',
        'white',
        'yellow'
      ].freeze

      def self.list_all
        TERMS
      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/colors.rb
unique_names_generator-0.1.2 lib/unique_names_generator/dictionaries/colors.rb
unique_names_generator-0.1.1 lib/unique_names_generator/dictionaries/colors.rb
unique_names_generator-0.1.0 lib/unique_names_generator/dictionaries/colors.rb