Path: | lib/rubygems/deprecate.rb |
Last Update: | Mon Oct 03 18:07:55 +0000 2011 |
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