static public Method

FILE.build(args)

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.

Source Code

# File rio/uri/file.rb, line 172
def self.build(args)
  #p "In build: "+args.inspect
  tmp = Util::make_components_hash(self, args)
  return super(tmp)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.