On Tue, Oct 18, 2011 at 11:31 AM, Yukihiro Matsumoto <matz / ruby-lang.org>wrote:

> Hi,
>
> In message "Re: [ruby-core:40207] Re: [Ruby 2.0 - Feature #5454] keyword
> arguments"
>     on Wed, 19 Oct 2011 00:14:13 +0900, Joshua Ballanco <
> jballanc / gmail.com> writes:
>
> |With the current proposal for keyword arguments, I think MacRuby would not
> |be able to implement this feature.
>
> I know.  But I have warned MacRuby guys for years.
>

Heh, indeed. I just spoke briefly with lrz, and he's optimistic that we can
make it work. One question I have, though, would be if you intend to allow
variables as default values or only literals. For example, should this work:

    x = 30
    def foo(a: 1, b: 2, c: x)
        puts [a, b, c]
    end
    foo(a: 10, b: 20) #=>  [10, 20, 30]

?