diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-09-02 15:49:40 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-09-28 08:38:06 -0700 |
commit | 92c3ad9c276d048bf6fba1145ffccf8678fe8af1 (patch) | |
tree | 8d5eb4c4bcfc9871e95d6596758fdb590649e00b /spec/ruby/core/kernel | |
parent | 5d7953f86b7ae164017e2292dfb3c108e0e02527 (diff) | |
download | ruby-92c3ad9c276d048bf6fba1145ffccf8678fe8af1.tar.gz |
Make Warning.warn accept only category keyword
In general accepting arbitrary keywords is a bad idea unless you are
delegating keywords or acting on arbitrary keywords. In this case,
the category keyword is ignored, and it's less error prone to not
ignore all keywords.
Diffstat (limited to 'spec/ruby/core/kernel')
0 files changed, 0 insertions, 0 deletions