module Github
def deprecate(method, alternate_method=nil)
Displays deprecation message to the user.
def deprecate(method, alternate_method=nil) return if deprecation_tracker.include? method deprecation_tracker << method message = <<-NOTICE PRECATION_PREFIX} method} is deprecated. CE if alternate_method message << <<-ADDITIONAL ease use #{alternate_method} instead. TIONAL end warn_deprecation(message) end