X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=vendor%2Frails%2Factivesupport%2Flib%2Factive_support%2Fcache%2Fdrb_store.rb;fp=vendor%2Frails%2Factivesupport%2Flib%2Factive_support%2Fcache%2Fdrb_store.rb;h=b16ed25aa3b5b76f40fb076e402933b7e1de1e1a;hb=437aa336c44c74a30aeea16a06743c32747ed661;hp=0000000000000000000000000000000000000000;hpb=97a0772b06264134cfe38e7494f9427efe0840a0;p=feedcatcher.git diff --git a/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb b/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb new file mode 100644 index 0000000..b16ed25 --- /dev/null +++ b/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb @@ -0,0 +1,14 @@ +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