class SynCache::Placeholder
Attributes
id[R]
timestamp[R]
Public Class Methods
new()
click to toggle source
# File lib/syncache/remote.rb, line 21 def initialize @id = rand(9223372036854775808) @timestamp = Time.now end
Public Instance Methods
===(other)
click to toggle source
# File lib/syncache/remote.rb, line 28 def ===(other) other.kind_of?(Placeholder) and other.id == @id end