lib/s3/bucket.rb
def destroy(force = false)
      if objects.any?
	      if force
           objects.destroy_all
           delete_bucket
           true
        else
          raise
        end
      else
        delete_bucket
        true
      end
    end
def destroy(force = false)
      if objects.any?
	      if force
           objects.destroy_all
           delete_bucket
           true
        else
          raise
        end
      else
        delete_bucket
        true
      end
    end
Destroys given bucket. Raises an S3::Error::BucketNotEmpty
 exception if the bucket is not empty. You can destroy non-empty
 bucket passing true (to force destroy)
=begin
    def destroy(force = false)
      delete_bucket
      true
    rescue Error::BucketNotEmpty
      if force
        objects.destroy_all
        retry
      else
        raise
      end
    end
=end