instiki/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb

15 lines
292 B
Ruby
Raw Normal View History

require 'drb'
module ActiveSupport
module Cache
class DRbStore < MemoryStore #:nodoc:
attr_reader :address
def initialize(address = 'druby://localhost:9192')
super()
@address = address
@data = DRbObject.new(nil, address)
end
end
end
end