diff options
Diffstat (limited to 'lib/chef/deprecation/warnings.rb')
-rw-r--r-- | lib/chef/deprecation/warnings.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/deprecation/warnings.rb b/lib/chef/deprecation/warnings.rb index b015669625..411e95ea39 100644 --- a/lib/chef/deprecation/warnings.rb +++ b/lib/chef/deprecation/warnings.rb @@ -22,7 +22,6 @@ class Chef def add_deprecation_warnings_for(method_names) method_names.each do |name| - m = instance_method(name) define_method(name) do |*args| message = [] message << "Method '#{name}' of '#{self.class}' is deprecated. It will be removed in Chef 13." |