    # File lib/chef/resource_collection.rb, line 132
        def find(*args)
          results = Array.new
          args.each do |arg|
            case arg
            when Hash
              results << find_resource_by_hash(arg)
            when String
              results << find_resource_by_string(arg)
            else
              msg = "arguments to #{self.class.name}#find should be of the form :resource => 'name' or resource[name]"
              raise Chef::Exceptions::InvalidResourceSpecification, msg
            end
          end
          flat_results = results.flatten
          flat_results.length == 1 ? flat_results[0] : flat_results
        end