Module: Gobgems::Color

Included in:
Program
Defined in:
lib/gobgems/color.rb

Class Method Summary collapse

Class Method Details

.allObject



19
20
21
# File 'lib/gobgems/color.rb', line 19

def all
  [red, green, black, blue]
end

.blackObject



15
16
17
# File 'lib/gobgems/color.rb', line 15

def black
  :black
end

.blueObject



7
8
9
# File 'lib/gobgems/color.rb', line 7

def blue
  :blue
end

.greenObject



11
12
13
# File 'lib/gobgems/color.rb', line 11

def green
  :green
end

.redObject



3
4
5
# File 'lib/gobgems/color.rb', line 3

def red
  :red
end