Andy Cooper
1/7/2009 5:13:00 PM
> Sebastian Hungerecker wrote:
> >
> > a) Range is not a numeric
> > b) Which difference do you mean?
> >=20
> > HTH,
> > Sebastian
>=20
> Thanks for the reply!
>=20
> Of course, in typing this out, I see why it's set up the way it is,=20
> since we might want to do something like this...
>=20
> class SomeObj
> def lastOne()
> 17
> end
> end
> blah =3D SomeObj::new
> a =3D 1..blah.lastOne
>=20
> Thanks for setting me on the path! (and letting me babble on...)
Well it all comes down to the principle of least surprise in the end,
and I think that it is properly set up to fit within the principle. Even
though none of us wants to put parenthesis ... anywere really.
Andy Cooper.