Module: Colors

Included in:
WeatherReporter
Defined in:
lib/meteo/colors.rb

Instance Method Summary collapse

Instance Method Details

#backgroundObject



32
33
34
# File 'lib/meteo/colors.rb', line 32

def background
  "\033[44m"
end

#cloudsObject



12
13
14
# File 'lib/meteo/colors.rb', line 12

def clouds
  "\033[37;1m\xe2\x98\x81"
end

#dashesObject



36
37
38
# File 'lib/meteo/colors.rb', line 36

def dashes
  "\033[34m-"
end

#dataObject



48
49
50
# File 'lib/meteo/colors.rb', line 48

def data
  "\033[33;1m"
end

#delimiterObject



44
45
46
# File 'lib/meteo/colors.rb', line 44

def delimiter
  "\033[35m=>"
end

#fogObject



20
21
22
# File 'lib/meteo/colors.rb', line 20

def fog
  "\033[37;1m\xe2\x96\x92"
end

#moonObject



8
9
10
# File 'lib/meteo/colors.rb', line 8

def moon
  "\033[36m\xe2\x98\xbd"
end

#rainObject



16
17
18
# File 'lib/meteo/colors.rb', line 16

def rain
  "\xe2\x98\x94"
end

#snowObject



24
25
26
# File 'lib/meteo/colors.rb', line 24

def snow
  "\033[37;1m\xe2\x9d\x84"
end

#stopObject



52
53
54
# File 'lib/meteo/colors.rb', line 52

def stop
  "\033[0m"
end

#sunObject



4
5
6
# File 'lib/meteo/colors.rb', line 4

def sun
  "\033[33;1m\xe2\x98\x80"
end

#textObject



40
41
42
# File 'lib/meteo/colors.rb', line 40

def text
  "\033[36;1m"
end

#thunderstormObject



28
29
30
# File 'lib/meteo/colors.rb', line 28

def thunderstorm
  "\xe2\x9a\xa1"
end