Really? "return"?

This commit is contained in:
Rémy Coutable 2011-06-19 12:22:09 +02:00
parent bbe42f9d23
commit 5996951685

View File

@ -43,9 +43,9 @@ module Guard
def color(text, color_code)
if color_enabled?
return "#{color_code}#{text}\e[0m"
"#{color_code}#{text}\e[0m"
else
return text
text
end
end