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.
385 386 387 388 389 |
# File 'lib/action_controller/caching.rb', line 385 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.
383 384 385 |
# File 'lib/action_controller/caching.rb', line 383 def address @address end |