class FakeS3::S3Object

Attributes

content_disposition[RW]
content_encoding[RW]
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)
  object.is_a?(self.class) ? (@name <=> object.name) : nil
end
eql?(object) click to toggle source
# File lib/fakes3/s3_object.rb, line 10
def eql?(object)
  object.is_a?(self.class) ? (@name == object.name) : false
end
hash() click to toggle source
# File lib/fakes3/s3_object.rb, line 6
def hash
  @name.hash
end