Sha256: eb9abaaa07c5ada9b7e5ee99520eba2d9c2b144b306e9ef7b4853aed6b33c9b8
Contents?: true
Size: 332 Bytes
Versions: 2
Compression:
Stored size: 332 Bytes
Contents
module FakeS3 class S3Object include Comparable attr_accessor :name,:size,:creation_date,:modified_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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
fakes3-0.1.5.2 | lib/fakes3/s3_object.rb |
amione-fakes3-0.1.5.1 | lib/fakes3/s3_object.rb |