Sha256: a60a373c92b6d1ab3d1c8c4a8727c34166a13bfcf488146f199a401e2a13a553

Contents?: true

Size: 140 Bytes

Versions: 3

Compression:

Stored size: 140 Bytes

Contents

module UiHelpers

  RED = 31
  GREEN = 32
  BLUE = 36

  def self.colorize(text, color_code)
    "\e[#{color_code}m#{text}\e[0m"
  end

end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
railsbricks-3.7.0 lib/railsbricks/ui_helpers.rb
phoenixbricks-3.2.7 lib/railsbricks/ui_helpers.rb
phoenixbricks-3.2.6 lib/railsbricks/ui_helpers.rb