Created
October 14, 2017 22:33
-
-
Save brianbancroft/6aed12d9ba89b427939091958d0e8922 to your computer and use it in GitHub Desktop.
Make the puts go red:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def warn(message) | |
puts "\e[#{31}m#{message}\e[0m" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment