public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
jweiss (author)
Thu Apr 17 10:58:31 -0700 2008
josh (committer)
Thu Apr 17 10:58:31 -0700 2008
commit  9e1d506a8cfedef2fdd605e4cbf4bf53651ad214
tree    bb68f6da2b3425008fdab9905555dd813d42756a
parent  9e53b63601ce12fb7e4c8fdb16d5706ea8609d2f
rails / activesupport / lib / active_support / cache / drb_store.rb
100644 15 lines (13 sloc) 0.292 kb
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