On Tue, Nov 11, 2008 at 11:11 PM, Yaakov Nemoy <loupgaroublond(a)gmail.com> wrote:
Hey List,
Day 2 of coding with Ruby. It's weird, to say the least. In the
attached patch, i'm not sure how to break from a loop like i might
with python or C. I think i need a each_while or each_unless
function. Maybe Ruby has a function that does exactly what i want and
i just don't know it yet.
Anyhows, here's a patch that reads colors from the config file. Note
the format, the tag name can be any qualifying regex, and the value is
a string. This format's not set in stone, i don't know the limits of
what YAML can do with the tag name vis-a-vis using it to be a regex.
-Yaakov
Reject that patch, i came up with my first bug too :)
Here's a revised commit.
(Git is awesome at making sure your mistakes are not saved for
posterity. I would swear that Linus Torvalds did that intentionally.)
-Yaakov