Class: ActionController::Caching::Fragments::DRbStore
- Inherits:
-
MemoryStore
- Object
- UnthreadedMemoryStore
- MemoryStore
- ActionController::Caching::Fragments::DRbStore
- Defined in:
- lib/action_controller/caching.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
Instance Method Summary collapse
-
#initialize(address = 'druby://localhost:9192') ⇒ DRbStore
constructor
A new instance of DRbStore.
Methods inherited from UnthreadedMemoryStore
#delete, #delete_matched, #read, #write
Constructor Details
#initialize(address = 'druby://localhost:9192') ⇒ DRbStore
Returns a new instance of DRbStore.
489 490 491 492 493 |
# File 'lib/action_controller/caching.rb', line 489 def initialize(address = 'druby://localhost:9192') super() @address = address @data = DRbObject.new(nil, address) end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
487 488 489 |
# File 'lib/action_controller/caching.rb', line 487 def address @address end |