diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2019-09-05 19:29:25 +0900 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-05 17:47:12 -0700 |
| commit | 55b96c5d2d7d8bcc2953484bd2f9c9519b252dae (patch) | |
| tree | 98f96f1825d941fdf4bb9294f0cbcf9963911023 /spec/ruby/core/array/empty_spec.rb | |
| parent | dd83f7bf98764b27385735f6f39dd090dc4854f9 (diff) | |
Add a keyword-to-last-hash warning for some case of define_method method
and lambda.
When define_method is a simple iseq (`define_method(:m) {|x| ... }`),
passing keywords to it (`m(**kw)`) didn't print a warning.
Diffstat (limited to 'spec/ruby/core/array/empty_spec.rb')
0 files changed, 0 insertions, 0 deletions
