Skip to content
Commit 6c704d74 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Eliminate Logger#warn_nodoc method.

Change the #warn method so it can be used for also passing in
arguments, and then use it for reporting the :nodoc warning too.
For this to work:

- Logger#warn expects a `file` parameter instead of `filename` and
  `linenr`, which must always be a hash.
- The fourth parameter is then free to be used as optional `args`
  array for the warning types that need it.
parent dbbd780f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment