diff options
| author | gitlabhq <m@gitlabhq.com> | 2011-10-17 18:45:31 +0300 |
|---|---|---|
| committer | gitlabhq <m@gitlabhq.com> | 2011-10-17 18:45:31 +0300 |
| commit | 8a8e77d54f558e5f8edf9cbe9076b5189323abf5 (patch) | |
| tree | 9015239d2b0768468a415810efcfa2849066e3bd /lib | |
| parent | d03f2687c596b5a2453e0e27918dd0628682a785 (diff) | |
| download | gitlab-ce-8a8e77d54f558e5f8edf9cbe9076b5189323abf5.tar.gz | |
update.rb
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/color.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/color.rb b/lib/color.rb index d5500aca8e2..23feecf4071 100644 --- a/lib/color.rb +++ b/lib/color.rb @@ -11,6 +11,10 @@ module Color colorize(text, "32m") end + def yellow(text) + colorize(text, "93m") + end + def command(string) `#{string}` if $?.to_i > 0 |
