lib/sup/util/uri.rb (281B) - raw
1 require "uri"
2
3 require "sup/util/path"
4
5 module Redwood
6 module Util
7 module Uri
8 def self.build(components)
9 components = components.dup
10 components[:path] = Path.expand(components[:path])
11 ::URI::Generic.build(components)
12 end
13 end
14 end
15 end