# File lib/chef/run_list/run_list_item.rb, line 62
      def ==(other)
        if other.kind_of?(String)
          self.to_s == other.to_s
        else
          other.respond_to?(:type) && other.respond_to?(:name) && other.type == @type && other.name == @name
        end
      end