Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Keyword arguments are not supported #2

Open
matt-royal opened this issue Apr 25, 2014 · 1 comment
Open

Keyword arguments are not supported #2

matt-royal opened this issue Apr 25, 2014 · 1 comment

Comments

@matt-royal
Copy link

Hi Ben,

I used Quacky to test a method in ruby 2.0 that takes keyword arguments, and noticed that it did not enforce the keyword argument names. In other words, this:

def foo(a: nil, b: nil); end

quacks like this, according to quacky:

def foo(completely_different_argument_name: nil, b: nil); end

Thanks,
Matt

@benmoss
Copy link
Owner

benmoss commented Apr 28, 2014

Yeah, I'm not sure kwargs were ever considered (if they even existed at the time). Same answer applies as the other issue, I'm afraid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants