module MongoOplogBackup::Ext::Timestamp
Public Instance Methods
<=>(other)
click to toggle source
# File lib/mongo_oplog_backup/ext/timestamp.rb, line 7 def <=> other [seconds, increment] <=> [other.seconds, other.increment] end
eql?(other)
click to toggle source
# File lib/mongo_oplog_backup/ext/timestamp.rb, line 19 def eql? other self == other end
hash()
click to toggle source
# File lib/mongo_oplog_backup/ext/timestamp.rb, line 15 def hash to_s.hash end
to_s()
click to toggle source
# File lib/mongo_oplog_backup/ext/timestamp.rb, line 11 def to_s "#{seconds}:#{increment}" end