Ruby Colorize Terminal Text

Kevin FOO
Aug 23, 2022

--

Plain black and white output on the terminal is harder to distinguish between success and error. If success message is printed in green and error message is printed in red, it is so much easier to differentiate them.

Ruby can easily print color text with the “colorize” module.

< Back to all the stories I had written

--

--

Kevin FOO
Kevin FOO

Written by Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

No responses yet