class FakeS3::S3Object

Attributes

content_type[RW]
creation_date[RW]
custom_metadata[RW]
io[RW]
md5[RW]
modified_date[RW]
name[RW]
size[RW]

Public Instance Methods

<=>(object) click to toggle source

Sort by the object’s name

# File lib/fakes3/s3_object.rb, line 15
def <=>(object)
  @name <=> object.name
end
eql?(object) click to toggle source
# File lib/fakes3/s3_object.rb, line 10
def eql?(object)
  @name == object.name
end
hash() click to toggle source
# File lib/fakes3/s3_object.rb, line 6
def hash
  @name.hash
end