Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-07-02 22:51:48 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-07-02 22:51:48 +0400
commita2eda66b30d737e3ca1a5fc17a7f36416939a41f (patch)
treec9b88d5417436ca854c610d892becff5d340e17b /lib
parente00390b377d9264ad87eea30fdee8025f2c18eec (diff)
Disable issues sort. Recent issues on top. Fixed tests
Diffstat (limited to 'lib')
-rw-r--r--lib/color.rb2
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