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



75
76
77
78
# File 'lib/chatbox/memcached_store.rb', line 75

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



80
81
82
# File 'lib/chatbox/memcached_store.rb', line 80

def id
  @id
end