Commit 40fc676a authored by Alain Takoudjou's avatar Alain Takoudjou

Colorize gem replaced with rainbow.

parent 64b6cfb6
# if we ever print anything in red - that's an error # if we ever print anything in red - that's an error
$check_failed = false $check_failed = false
class String class String
alias_method :orig_red, :red alias_method :orig_color, :color
def red(*args) def color(code)
if code == :red
$check_failed = true $check_failed = true
orig_red(*args) end
orig_color(code)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment