Type:
Module

Provides a single method deprecate to be used to declare when something is going away.

class Legacy
  def self.klass_method
    # ...
  end

  def instance_method
    # ...
  end

  extend Gem::Deprecate
  deprecate :instance_method, "X.z", 2011, 4

  class << self
    extend Gem::Deprecate
    deprecate :klass_method, :none, 2011, 4
  end
end
deprecate

deprecate(name, repl, year, month) Class Public methods Simple deprecation method

2015-04-09 01:02:35
skip_during

skip_during() Class Public methods Temporarily turn off warnings. Intended for

2015-04-09 01:09:33