summaryrefslogtreecommitdiff
path: root/lib/chef/run_list/run_list_item.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_list/run_list_item.rb')
-rw-r--r--lib/chef/run_list/run_list_item.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/run_list/run_list_item.rb b/lib/chef/run_list/run_list_item.rb
index 0abfb106ff..1c75907dd8 100644
--- a/lib/chef/run_list/run_list_item.rb
+++ b/lib/chef/run_list/run_list_item.rb
@@ -81,7 +81,7 @@ class Chef
def ==(other)
if other.kind_of?(String)
- self.to_s == other.to_s
+ to_s == other.to_s
else
other.respond_to?(:type) && other.respond_to?(:name) && other.respond_to?(:version) && other.type == @type && other.name == @name && other.version == @version
end