Project

General

Profile

« Previous | Next » 

Revision c81360db

Added by byroot (Jean Boussier) about 1 year ago

Kernel#warn: don't call Warning.warn unless the category is enabled

[Bug #20573]

Followup: https://github.com/ruby/ruby/pull/10960

I believe Kernel#warn should behave in the same way than internal
`rb_warning_* APIs