On Mon, Jun 6, 2016 at 2:08 PM, yary <not....@gmail.com> wrote: > > For your particular case, would it be sufficient to set the values in > the constructor? > > with Point.new( :x(10) ) { .say } > # says "Point.new(x => 10, y => Any)" >
Normally, that would be a good way to construct the Points in my example. I'm just using the approach in my note to demonstrate 'with'. Ed