Class: ActionController::Caching::Fragments::DRbStore

Inherits:
MemoryStore show all
Defined in:
lib/action_controller/caching.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from UnthreadedMemoryStore

#delete, #delete_matched, #read, #write

Constructor Details

#initialize(address = 'druby://localhost:9192') ⇒ DRbStore

Returns a new instance of DRbStore.


384
385
386
387
388
# File 'lib/action_controller/caching.rb', line 384

def initialize(address = 'druby://localhost:9192')
  super()
  @address = address
  @data = DRbObject.new(nil, address)
end

Instance Attribute Details

#addressObject (readonly)

Returns the value of attribute address


382
383
384
# File 'lib/action_controller/caching.rb', line 382

def address
  @address
end