Skip to content

Commit

Permalink
The third argument of deprecation_warning is always optional
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rafaelfranca committed Apr 16, 2013
1 parent 3f04785 commit e463753
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ class Module
# method where you can implement your custom warning behavior.
#
# class MyLib::Deprecator
# def deprecation_warning(deprecated_method_name, message, caller_backtrace)
# def deprecation_warning(deprecated_method_name, message, caller_backtrace = nil)
# message = "#{deprecated_method_name} is deprecated and will be removed from MyLibrary | #{message}"
# Kernel.warn message
# end
Expand Down

0 comments on commit e463753

Please sign in to comment.