Module: GyomuRuby::Deprecation
- Defined in:
- lib/gyomu_ruby/deprecation.rb
Defined Under Namespace
Modules: DeprecatedConstant
Class Method Summary collapse
Class Method Details
.deprecated_method_warning(method_name, message) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/gyomu_ruby/deprecation.rb', line 5 def deprecated_method_warning(method_name, ) warning = "DEPRECATIOPN WARNING:" warning = "#{warning} #{method_name} is deprecated and will be removed in the near future" warning = "#{warning} (#{message})" STDERR.puts(warning) end |