Method: URI::FILE.build

Defined in:
lib/rio/uri/file.rb

.build(args) ⇒ Object

Description

Create a new URI::FILE object from components of URI::FILE with check. It is scheme, userinfo, host, port, path, query and fragment. It provided by an Array of a Hash.



179
180
181
182
183
# File 'lib/rio/uri/file.rb', line 179

def self.build(args)
  #p "In build: "+args.inspect
  tmp = Util::make_components_hash(self, args)
  return super(tmp)
end