Results for: "Logger"

No documentation available

Heading banner preceding summary.

Version

Returns version string from program_name, version and release.

Parses command line arguments argv in order. When a block is given, each non-option argument is yielded.

Returns the rest of argv left unparsed.

Same as order, but removes switches destructively. Non-option arguments remain in argv.

Parses command line arguments argv in permutation mode and returns list of non-option arguments.

Same as permute, but removes switches destructively. Non-option arguments remain in argv.

Wrapper method for getopts.rb.

params = ARGV.getopts("ab:", "foo", "bar:", "zot:Z;zot option")
# params["a"] = true   # -a
# params["b"] = "1"    # -b1
# params["foo"] = "1"  # --foo
# params["bar"] = "x"  # --bar x
# params["zot"] = "z"  # --zot Z

See getopts.

Loads options from file names as filename. Does nothing when the file is not present. Returns whether successfully loaded.

filename defaults to basename of the program without suffix in a directory ~/.options.

Returns the regexp.

m = /a.*b/.match("abc")
m.regexp #=> /a.*b/

Looks up the first IP address for name.

Looks up all IP address for name.

Looks up the hostname of address.

Looks up all hostnames for address.

Looks up the first IP address for name.

Looks up all IP address for name.

Looks up the hostname of address.

Looks up all hostnames for address.

No documentation available

Returns true if the set is a superset of the given set.

Returns true if the set and the given set have at least one element in common.

Set[1, 2, 3].intersect? Set[4, 5]   #=> false
Set[1, 2, 3].intersect? Set[3, 4]   #=> true
No documentation available
No documentation available
Search took: 4ms  ·  Total Results: 2247