[holy ruby programmers batman!] Adding a configuration file to Utility Belt
gilesb at gmail.com
Tue Dec 25 17:07:57 EST 2007
> > There's only a few things I'ld change, which is that I'd rather see
> > the UtilityBelt.equip calls in .irbrc as opposed to an additional
> > file,
> They are in .irbrc, since Avdi Grimm pointed out that having an
> additional config file wasn't really necessary, and I agree.
Ah, OK. Cool.
> > I think I'd go for a "best of" default rather than making :all
> > the default,
> Wouldn't be a hard change. All you need to edit is the call in the
> IRB_RC-lambda to UtilityBelt.equip, in utility_belt.rb.
Probably a DEFAULTS array as well.
> > and last but not least allowing people to specify their
> > :except gadgets as Strings, Symbols, or Arrays of either one.
> I can update the patch for all these, if you want.
For sure! That would be awesome.
> Oh, and is the git-patch-format fine or do you prefer another format?
Sure, it's fine. Basically anything that shows up in TextMate as a diff is good.
More information about the Utilitybelt-tinkering