diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-06 13:33:19 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-06 19:41:23 -0700 |
commit | 80e679ef2d6f370e853e37053c73930c65b5e76c (patch) | |
tree | 102bd04e9ea105ec35b0ac7d03bf860e52068d12 /template | |
parent | 37a2c660aa4f4aacfd6a56651b10124e3ac01321 (diff) | |
download | ruby-80e679ef2d6f370e853e37053c73930c65b5e76c.tar.gz |
Fix keyword argument separation warnings for enumerators
This makes objects created via #to_enum and related methods pass
keyword arguments as keywords.
To implement this, add a kw_splat member of struct enumerator and
struct iter_method_arg, and add rb_block_call_kw, which is the
same as rb_block_call_kw with a flag for whether the last argument
is keyword options.
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions