aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache/drb_store.rb
blob: b80c2ee4d53ae4601b53046bc5d6d2a5c250e713 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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