Sha256: 43ece416b5b630f00207a636ebaeaae941d28fee2188a7f5431d170edae6f0ce
Contents?: true
Size: 321 Bytes
Versions: 5
Compression:
Stored size: 321 Bytes
Contents
module RackFakeS3 class S3Object include Comparable attr_accessor :name,:size,:creation_date,:md5,:io,:content_type def hash @name.hash end def eql?(object) @name == object.name end # Sort by the object's name def <=>(object) @name <=> object.name end end end
Version data entries
5 entries across 5 versions & 1 rubygems