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.



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

#addressObject (readonly)

Returns the value of attribute address.



446
447
448
# File 'lib/action_controller/caching.rb', line 446

def address
  @address
end