From: Paul Brannan Date: 2008-04-08T01:08:42+09:00 Subject: Re: syntax request On Mon, Apr 07, 2008 at 04:47:03PM +0900, David A. Black wrote: > beginning with , or +, and I have to say that this, in 1.9: > > puts object > .methods > > has left me rather puzzled. If that works, then this should work: > > ruby -e ".methods" > > but it doesn't -- which means that the whole thing introduces a new > kind of "default object", other than self: an object to which an > otherwise uninterpretable dot is supposed to connect. Would you be happier if the latter snippet did work? (I think that means making the '.' operator a unary and binary operator like + or -). Paul