15 lines
327 B
Ruby
15 lines
327 B
Ruby
|
module ActiveSupport
|
||
|
module Cache
|
||
|
class DRbStore < MemoryStore #:nodoc:
|
||
|
attr_reader :address
|
||
|
|
||
|
def initialize(address = 'druby://localhost:9192')
|
||
|
require 'drb' unless defined?(DRbObject)
|
||
|
super()
|
||
|
@address = address
|
||
|
@data = DRbObject.new(nil, address)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|