Class: MM::Colors
- Inherits:
-
Object
- Object
- MM::Colors
- Defined in:
- lib/games/mastermind/colors.rb
Class Method Summary collapse
Class Method Details
.key ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/games/mastermind/colors.rb', line 3 def self.key { 1 => :red, 2 => :green, 3 => :blue, 4 => :orange, 5 => :yellow, 6 => :brown } end |