Results for: "match"

No documentation available

Terminate the application with exit code status, running any exit handlers that might have been defined.

CommandProcessor#expand_path(path)

  path:   String
  return: String
returns the absolute path for <path>

Returns a list of aliased commands

Creates a command alias at the given alias for the given command, passing any options along with it.

Shell::CommandProcessor.alias_command "lsC", "ls", "-CBF", "--show-control-chars"
Shell::CommandProcessor.alias_command("lsC", "ls"){|*opts| ["-CBF", "--show-control-chars", *opts]}

Unaliases the given alias command.

schedule a command

terminate a job

No documentation available

protected setter for the scheme component v

see also URI::Generic.scheme=

check 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

check 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.

check the password 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.

check the host v component for RFC2396 compliance and against the URI::Parser Regexp for :HOST

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

check the port v component for RFC2396 compliance and against the URI::Parser Regexp for :PORT

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

protected setter for the path component v

see also URI::Generic.path=

check the opaque v component for RFC2396 compliance and against the URI::Parser Regexp for :OPAQUE

Can not have a host, port, user or path component defined, with an opaque component defined.

returns an Array of the path split on ‘/’

Merges a base path base, with relative path rel, returns a modified base path.

private setter for attributes val

check the to v component

check the headers v component against either

Returns the RFC822 e-mail text equivalent of the URL, as a String.

Example:

require 'uri'

uri = URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr")
uri.to_mailtext
# => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n"

returns Regexp that is default self.regexp, unless schemes is provided. Then it is a Regexp.union with self.pattern

Constructs the default Hash of patterns

Search took: 4ms  ·  Total Results: 2049