class Bundler::URI::File
def self.build(args)
uri2.to_s # => "file://host.example.com/ruby/src"
:path => '/ruby/src'})
uri2 = Bundler::URI::File.build({:host => 'host.example.com',
uri1.to_s # => "file://host.example.com/path/file.zip"
uri1 = Bundler::URI::File.build(['host.example.com', '/path/file.zip'])
require 'bundler/vendor/uri/lib/uri'
Examples:
order
[host, path]
.If an Array is used, the components must be passed in the
with keys formed by preceding the component names with a colon.
The components should be provided either as an Array, or as a Hash
The components accepted are +host+ and +path+.
Creates a new Bundler::URI::File object from components, with syntax checking.
== Description
def self.build(args) tmp = Util::make_components_hash(self, args) super(tmp) end