Reputation: 65173
Like in the cucumber tests, there are color-coded outputs... how do I do that?
Upvotes: 3
Views: 2739
Reputation: 6805
I'm not sure this is from any gem I have, but doing thig will result in purple output.
puts "\e[0;35m this is a purple text \e[0m\n"
Upvotes: 2