On Thu, 2005-03-24 at 01:18 +0900, Christian Neukirchen wrote:
> Ben Giddings <bg-rubytalk / infofiend.com> writes:
> 
> > But it seems to me that what people are really looking for is a way to
> > apply multiple methods to an object without having to retype it's
> > name:
> >
> > the_config_string_for_foo = $stdin.gets
> > the_config_string_for_foo.apply { strip!; downcase! }
> 
> I like the idea of a safe instance_eval (one that doesnt circumvent
> privacy or has access to instance variables), and "apply" is a good
> name for that.

+1!

That's the first time I've seen a "with" construct I truly like. 

Ari