Class: Ruby::Rego::Builtins::Uri::Parser::Components
- Inherits:
-
Struct
- Object
- Struct
- Ruby::Rego::Builtins::Uri::Parser::Components
- Defined in:
- lib/ruby/rego/builtins/uri/parser.rb
Overview
The broken-down URL fields. uri.parse reads only scheme/host/path/raw_path/raw_query/ fragment; the rest (opaque, force_query, omit_host, raw_fragment, user) complete Go’s url.URL so consumers needing the whole struct (crypto.x509 URI SANs) can reconstruct it. user is the raw userinfo substring (Go keeps it un-decoded) or nil.
Instance Attribute Summary collapse
-
#force_query ⇒ Object
Returns the value of attribute force_query.
-
#fragment ⇒ Object
Returns the value of attribute fragment.
-
#host ⇒ Object
Returns the value of attribute host.
-
#omit_host ⇒ Object
Returns the value of attribute omit_host.
-
#opaque ⇒ Object
Returns the value of attribute opaque.
-
#path ⇒ Object
Returns the value of attribute path.
-
#raw_fragment ⇒ Object
Returns the value of attribute raw_fragment.
-
#raw_path ⇒ Object
Returns the value of attribute raw_path.
-
#raw_query ⇒ Object
Returns the value of attribute raw_query.
-
#scheme ⇒ Object
Returns the value of attribute scheme.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Attribute Details
#force_query ⇒ Object
Returns the value of attribute force_query
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def force_query @force_query end |
#fragment ⇒ Object
Returns the value of attribute fragment
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def fragment @fragment end |
#host ⇒ Object
Returns the value of attribute host
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def host @host end |
#omit_host ⇒ Object
Returns the value of attribute omit_host
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def omit_host @omit_host end |
#opaque ⇒ Object
Returns the value of attribute opaque
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def opaque @opaque end |
#path ⇒ Object
Returns the value of attribute path
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def path @path end |
#raw_fragment ⇒ Object
Returns the value of attribute raw_fragment
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def raw_fragment @raw_fragment end |
#raw_path ⇒ Object
Returns the value of attribute raw_path
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def raw_path @raw_path end |
#raw_query ⇒ Object
Returns the value of attribute raw_query
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def raw_query @raw_query end |
#scheme ⇒ Object
Returns the value of attribute scheme
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def scheme @scheme end |
#user ⇒ Object
Returns the value of attribute user
29 30 31 |
# File 'lib/ruby/rego/builtins/uri/parser.rb', line 29 def user @user end |