From 861f7759a53b37f76a9b64710b2312a1fd1365a8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 23 Nov 2010 13:11:52 -0800 Subject: use common setup elements Some other databases will be able to utilize these variables. --- lib/metropolis.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/metropolis.rb') diff --git a/lib/metropolis.rb b/lib/metropolis.rb index 96a2a6d..1bae3d3 100644 --- a/lib/metropolis.rb +++ b/lib/metropolis.rb @@ -8,7 +8,7 @@ module Metropolis def self.new(opts = {}) opts = opts.dup rv = Object.new - uri = URI.parse(opts[:uri]) + uri = opts[:uri] = URI.parse(opts[:uri]) case uri.scheme when 'tc' opts[:path_pattern] = uri.path -- cgit v1.2.3-24-ge0c7