summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-09-02 15:49:40 -0700
committerJeremy Evans <code@jeremyevans.net>2020-09-28 08:38:06 -0700
commit92c3ad9c276d048bf6fba1145ffccf8678fe8af1 (patch)
tree8d5eb4c4bcfc9871e95d6596758fdb590649e00b /spec/ruby/core/kernel
parent5d7953f86b7ae164017e2292dfb3c108e0e02527 (diff)
downloadruby-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