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
$check_failed = false
class String
alias_method :orig_red, :red
def red(*args)
$check_failed = true
orig_red(*args)
alias_method :orig_color, :color
def color(code)
if code == :red
$check_failed = true
end
orig_color(code)
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