# File rice/url.rb, line 54 def initialize(scheme, host, port=nil, path=nil, args=nil, username=nil, password=nil) @scheme = scheme @host = host @port = port ? port.to_i : nil @path = path || '/' # default path '/' @args = args || Hash.new() # at least an empty hash @username = username @password = password end