Class: Chatbox::MemcachedStore::Record
- Inherits:
-
Object
- Object
- Chatbox::MemcachedStore::Record
- Defined in:
- lib/chatbox/memcached_store.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, attrs) ⇒ Record
constructor
A new instance of Record.
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
80 81 82 |
# File 'lib/chatbox/memcached_store.rb', line 80 def id @id end |