Flowdock
module
Importance_1
Ruby latest stable (v2_5_5) - 0 notes

frozen_string_literal: true

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
Show files where this module is defined (1 file)
Register or log in to add new notes.