Results for: "Logger"

No documentation available
No documentation available

Display a warning on stderr. Will ask question if it is not nil.

No documentation available
No documentation available
No documentation available

Smushes all heredoc lines into one line

source = <<~'EOM'
  foo = <<~HEREDOC
     lol
     hehehe
  HEREDOC
EOM

lines = CleanDocument.new(source: source).join_heredoc!.lines
expect(lines[0].to_s).to eq(source)
expect(lines[1].to_s).to eq("")
No documentation available
No documentation available
No documentation available

raise InvalidURIError

raise InvalidURIError

do nothing

do nothing

Checks the user and password.

If password is not provided, then user is split, using URI::Generic.split_userinfo, to pull user and +password.

See also URI::Generic.check_user, URI::Generic.check_password.

Checks the user v component for RFC2396 compliance and against the URI::Parser Regexp for :USERINFO.

Can not have a registry or opaque component defined, with a user component defined.

Protected setter for the user component, and password if available (with validation).

See also URI::Generic.userinfo=.

Protected setter for the user component v.

See also URI::Generic.user=.

Returns the userinfo ui as [user, password] if properly formatted as ‘user:password’.

Escapes ‘user:password’ v based on RFC 1738 section 3.1.

Returns the user component after URI decoding.

Private method to cleanup attributes, scope, filter, and extensions from using the query component attribute.

Private setter for filter val.

Checks the headers v component against either

Private setter for headers v.

Search took: 4ms  ·  Total Results: 2182