module Mastermind
Constants
- COLORS
- COLOR_CODES
- COLOR_NAMES
- VERSION
Public Class Methods
color_option_string(num_colors)
click to toggle source
# File lib/mastermind.rb, line 24 def self.color_option_string(num_colors) COLOR_NAMES.values.first(num_colors).join(" | ") end