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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Kevin FOO
Kevin FOO

Written by Kevin FOO

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

No responses yet

Write a response