diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-11-23 13:11:52 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-11-23 13:11:52 -0800 |
commit | 861f7759a53b37f76a9b64710b2312a1fd1365a8 (patch) | |
tree | 9d28b608d52e3a263bf7eb2a1dfeab474053f9dc /lib/metropolis.rb | |
parent | 9b6c5f2fdf5cac77fda7fb506fe09d22cd18b8ab (diff) | |
download | metropolis-861f7759a53b37f76a9b64710b2312a1fd1365a8.tar.gz |
use common setup elements
Some other databases will be able to utilize these variables.
Diffstat (limited to 'lib/metropolis.rb')
-rw-r--r-- | lib/metropolis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |