Type:
Class
Constants:
DEFAULT_PORT : nil

A Default port of nil for URI::Generic

COMPONENT : [ :scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment ].freeze

An Array of the available components for URI::Generic

USE_REGISTRY : false

Default to not use the registry for a URI::Generic

Base class for all URI classes. Implements generic URI syntax as per RFC 2396.

route_from
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

route_from(oth) Instance Public methods Args oth

2025-01-10 15:47:30
new
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

new(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = DEFAULT_PARSER, arg_check = false)

2025-01-10 15:47:30
scheme=
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

scheme=(v) Instance Public methods Args v

2025-01-10 15:47:30
fragment=
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

fragment=(v) Instance Public methods Args v

2025-01-10 15:47:30
use_registry
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

use_registry() Class Public methods Returns whether a registry of naming authorities

2025-01-10 15:47:30
registry=
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

registry=(v) Instance Public methods Args v

2025-01-10 15:47:30
to_s
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

to_s() Instance Public methods Constructs String from

2025-01-10 15:47:30
set_password
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

set_password(v) Instance Protected methods protected setter for the password

2025-01-10 15:47:30
userinfo
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

userinfo() Instance Public methods returns the userinfo, either as 'user' or

2025-01-10 15:47:30
hostname
  • References/Ruby on Rails/Ruby/Classes/URI/URI::Generic

hostname() Instance Public methods extract the host part of the

2025-01-10 15:47:30