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.
448 449 450 451 452 |
# File 'lib/action_controller/caching.rb', line 448 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.
446 447 448 |
# File 'lib/action_controller/caching.rb', line 446 def address @address end |