On Mar 2, 2006, at 9:57 AM, Berger, Daniel wrote:

> That can be made to work, with the understanding that '=' in a method
> call means 'keyword argument', not 'assignment', since there is no  
> point
> in doing an assignment in a method call.

You could use it to avoid repeating myself, for example in testing:

assert_instance_of(Name, (name = Name.new( (first = "James"), (last =  
"Gray") )))
assert_equal(first, name.first)
assert_equal(last, name.last)

James Edward Gray II