Sha256: 68cf8a60f5cc3f5c1c02c50bffa6abc615ace25cc03e0bd5805e36fc22cf4fb1

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

# -*- encoding: utf-8 -*-

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

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

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

  def rain
    "\xe2\x98\x94"
  end

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

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

  def thunderstorm
    "\xe2\x9a\xa1"
  end

  def background
    "\033[44m"
  end

  def dashes
    "\033[34m-"
  end

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

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

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

  def stop
    "\033[0m"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
meteo-1.1.2 lib/meteo/colors.rb
meteo-1.1.1 lib/meteo/colors.rb
meteo-1.1.0 lib/meteo/colors.rb