On 4/16/06, James Edward Gray II <james / grayproductions.net> wrote: > On Apr 16, 2006, at 2:44 PM, Sy Ali wrote: > > > As an aside, I was thinking of writing some kind of wrapper to help > > with the colour functions in HighLine, so that I cound use strings > > like this: > > > > colour_puts "@RBold Red @rred @YBold yellow" > > > > (using your imagination) > > Bold Red red Bold yellow > > > > etc. It doesn't feel very difficult, but it would sure be easier for > > me to use colour codes like this then to bust strings up and feed them > > to HighLine the way I am right now. > > Are HighLine's ERB escapes not enough for this? Can you show an > example where you have to bust a String up? Hmm... this is really what those ERB escapes are for... so if there is a problem that they aren't solving, we'll need to consider that... Still, I think this can be done via ERB.