Daniel Berger
10/15/2007 9:53:00 PM
On Oct 15, 3:35 pm, Phrogz <phr...@mac.com> wrote:
> On Oct 15, 3:24 pm, Jay Levitt <jay+n...@jay.fm> wrote:
>
> > On Mon, 15 Oct 2007 13:13:40 -0700, Phrogz wrote:
> > > Although this syntax reads well:
> > > include ModA, :exclude => :foo
> > > I think this particular syntax appears odd:
> > > include ModA, :include => :foo
> > > where this is better:
> > > include ModA, :include => :foo
>
> > I'm staring and staring and staring, but #2 still looks the same as #3.
>
> > If I cross my eyes, they still look the same, but I also see a 3D Ferris
> > wheel pop out.
>
> Uhm. Yeah. Oops. :)
>
> I had meant to type:> Although this syntax reads well:
> > include ModA, :exclude => :foo
> > I think this particular syntax appears odd:
> > include ModA, :include => :foo
> > where this is better:
> > use ModA, :include => :foo
>
> ...but apparently got lazy. Sorry 'bout that.
The :include option is the default if no keywords are supplied. So,
you can do this:
use ModA, :foo
If we override 'include', then it's just this:
include ModA, :foo
Regards,
Dan