aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/cache/drb_store.rb
blob: b16ed25aa3b5b76f40fb076e402933b7e1de1e1a (plain) (tree)
1
2
3
4
5
6
7





                                                        
                                                





                                           
   
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