lib/evertils/common/converter.rb in evertils-common-0.3.0 vs lib/evertils/common/converter.rb in evertils-common-0.3.1

- old
+ new

@@ -3,11 +3,13 @@ module Converter class Base # # @since 0.2.8 - def deprecation_notice(version) - puts "Deprecated as of #{version}" + def deprecation_notice(version, message) + output = "Deprecated as of #{version}" + output += "\nReason: #{message}" if message + output end end end end \ No newline at end of file