Really? "return"?
This commit is contained in:
parent
bbe42f9d23
commit
5996951685
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user