Sha256: 5de97c4e9194652a725beab7c715adeb4ae52eb6f77242758d2a30be95a138f4

Contents?: true

Size: 281 Bytes

Versions: 23

Compression:

Stored size: 281 Bytes

Contents

require "uri"

require "sup/util/path"

module Redwood
  module Util
    module Uri
      def self.build(components)
        components = components.dup
        components[:path] = Path.expand(components[:path])
        ::URI::Generic.build(components)
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
sup-0.14.0 lib/sup/util/uri.rb
sup-0.13.2 lib/sup/util/uri.rb
sup-0.13.1 lib/sup/util/uri.rb