diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-07-02 21:51:48 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-07-02 21:51:48 +0300 |
commit | a2eda66b30d737e3ca1a5fc17a7f36416939a41f (patch) | |
tree | c9b88d5417436ca854c610d892becff5d340e17b /lib | |
parent | e00390b377d9264ad87eea30fdee8025f2c18eec (diff) | |
download | gitlab-ce-a2eda66b30d737e3ca1a5fc17a7f36416939a41f.tar.gz |
Disable issues sort. Recent issues on top. Fixed tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/color.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/color.rb b/lib/color.rb index 4eabe249c18..4723804e5f8 100644 --- a/lib/color.rb +++ b/lib/color.rb @@ -1,4 +1,6 @@ module Color + extend self + def colorize(text, color_code) "\033[#{color_code}#{text}\033[0m" end |