Method: S3::Bucket#==

Defined in:
lib/s3/bucket.rb

#==(other) ⇒ Object

Compares the bucket with other bucket. Returns true if the names of the buckets are the same, and both have the same services (see Service equality)



27
28
29
# File 'lib/s3/bucket.rb', line 27

def ==(other)
  self.name == other.name and self.service == other.service
end