Method: FakeS3::S3Object#<=>

Defined in:
lib/fakes3/s3_object.rb

#<=>(object) ⇒ Object

Sort by the object’s name



15
16
17
# File 'lib/fakes3/s3_object.rb', line 15

def <=>(object)
  object.is_a?(self.class) ? (@name <=> object.name) : nil
end