[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67692] Re: Keyword Arguments

From: Anthony Crumley <anthony.crumley@...>
Date: 2015-01-20 04:30:43 UTC
List: ruby-core #67692
Thanks Nobu.  That is exactly what I am seeing as I experiment with it.

On Mon Jan 19 2015 at 10:28:13 PM Nobuyoshi Nakada <nobu@ruby-lang.org>
wrote:

> On 2015/01/20 12:56, Anthony Crumley wrote:
> > A block yielded a single Array calls #to_hash on the element that maps
> to the keyword arguments FAILED
> > Expected [1, 2, 3, {}]
> >  to equal [1, 2, 3, {:x=>9}]
>
> Keyword arguments are taken from the last argument. It is `y` here.
>
> --
> Nobu Nakada
>

In This Thread