Skip to content
class method

Gem::Deprecate.rubygems_deprecate

rubygems_deprecate(name, replacement = :none, version = nil)

Simple deprecation method that deprecates name by wrapping it up in a dummy method. It warns on each call to the dummy method telling the user of repl (unless repl is :none) and the Rubygems version that it is planned to go away.