T. Onoma <transami / runbox.com> wrote:
> On Tuesday 24 August 2004 07:21 am, Mauricio FernŠŌdez wrote:
> > my_obj.with do
> >   @x = 0
> >   @y = 10
> >   @width = 100
> >   @height = 100
> > end
> 
> my_obj.with (
>   x: 0,
>   y: 10
>   width: 100
>   height: 100
> )
> 
> Ruby2 ?

This won't work for method calls, though, will it? What would be really
nice is

my_obj.with {
  .x = 1
  .y = 2
  .move_to(10,10)
  .col = :RED
  .repaint
}

martin