Module Deprecated::Module
In: lib/deprecated.rb

Methods

Public Instance methods

deprecated takes up to three arguments:

  • A symbol which is the name of the method you wish to deprecate (required)
  • A string or symbol which is the replacement method. If you provide this, your users will be instructed to use that method instead.
  • A symbol of :public, :private, or :protected which determines the new scope of the method. If you do not provide one, it will be searched for in the various collections, and scope will be chosen that way.

[Validate]