From: James Gray Date: 2008-12-06T04:40:49+09:00 Subject: Re: [QUIZ] AnsiString (#185) On Dec 5, 2008, at 1:23 PM, Rob Biedenharn wrote: > Since the Facets ANSICode was mentioned, I just thought that I'd > also make everyone aware of the term-ansicolor gem by Florian Frank flori@ping.de > which does this type of thing for colors. HighLine also does this: >> require "highline/import" => true >> say("<%= color 'I want to be red!', :red %>") I want to be red! => nil You can use color() without printing with code like: red_str = HighLine.new.color("I want to be red!", :red) And if you use that you can drop the /import in the require. James Edward Gray II