Class: Tty

Inherits:
Object
  • Object
show all
Defined in:
lib/dropsite/site.rb

Overview

Add a little color - based on some stuff from github.com/mxcl/homebrew

Class Method Summary collapse

Class Method Details

.blueObject



136
# File 'lib/dropsite/site.rb', line 136

def blue; bold 34; end

.bold_whiteObject



138
# File 'lib/dropsite/site.rb', line 138

def bold_white; bold 39; end

.emObject



142
# File 'lib/dropsite/site.rb', line 142

def em; underline 39; end

.redObject



139
# File 'lib/dropsite/site.rb', line 139

def red; underline 31; end

.resetObject



141
# File 'lib/dropsite/site.rb', line 141

def reset; escape 0; end

.whiteObject



137
# File 'lib/dropsite/site.rb', line 137

def white; escape 39; end

.yellowObject



140
# File 'lib/dropsite/site.rb', line 140

def yellow; underline 33 ; end