Class: Chatbox::MemcachedStore::Record

Inherits:
Object
  • Object
show all
Defined in:
lib/chatbox/memcached_store.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, attrs) ⇒ Record

Returns a new instance of Record.



73
74
75
76
# File 'lib/chatbox/memcached_store.rb', line 73

def initialize(id, attrs)
  @id = id
  @attrs = attrs
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



78
79
80
# File 'lib/chatbox/memcached_store.rb', line 78

def id
  @id
end