Reprinted from Blog Article.
The other day, Ruby 2.7.2 was released.
With this release, The deprecated warning I mentioned the other day is no longer displayed by default. Therefore, in the future, if deprecated features are removed, the application may suddenly stop working. In order to avoid such problems, it is possible to develop safely in the future by "explicitly outputting deprecated warnings" as follows.
-w
and -W: deprecated
Warning [: deprecated] = true
to the codeRecommended Posts