Class SynCache::Placeholder
In: lib/syncache/remote.rb
Parent: Object

Methods

===   new  

Attributes

id  [R] 
timestamp  [R] 

Public Class methods

[Source]

# File lib/syncache/remote.rb, line 21
  def initialize
    @id = rand(9223372036854775808)
    @timestamp = Time.now
  end

Public Instance methods

[Source]

# File lib/syncache/remote.rb, line 28
  def ===(other)
    other.kind_of?(Placeholder) and other.id == @id
  end

[Validate]