Method: Bundler::Thor.deprecation_warning
- Defined in:
- lib/bundler/vendor/thor/lib/thor/base.rb
permalink .deprecation_warning(message) ⇒ Object
:nodoc:
26 27 28 29 30 31 |
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 26 def deprecation_warning() #:nodoc: unless ENV["THOR_SILENCE_DEPRECATION"] warn "Deprecation warning: #{}\n" + "You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION." end end |