summaryrefslogtreecommitdiff
path: root/warning.rb
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 /warning.rb
parent5d7953f86b7ae164017e2292dfb3c108e0e02527 (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3508
Diffstat (limited to 'warning.rb')
0 files changed, 0 insertions, 0 deletions