Results for: "slice"

The line number of the current token. This value starts from 1. This method is valid only in event handlers.

Creates a new Socket::Option object for SOL_SOCKET/SO_LINGER.

onoff should be an integer or a boolean.

secs should be the number of seconds.

p Socket::Option.linger(true, 10)
#=> #<Socket::Option: UNSPEC SOCKET LINGER on 10sec>

Returns the linger data in sockopt as a pair of boolean and integer.

sockopt = Socket::Option.linger(true, 10)
p sockopt.linger => [true, 10]

Returns the internal Syslog object that is initialized when the first instance is created.

Specifies the internal Syslog object to be used.

The line number of the last row read from this file.

Specify line number of the last row read from this file.

See Zlib::GzipReader documentation for a description.

This is a deprecated alias for each_line.

See Zlib::GzipReader documentation for a description.

Returns the number of hard links to stat.

File.stat("testfile").nlink             #=> 1
File.link("testfile", "testfile.bak")   #=> 0
File.stat("testfile").nlink             #=> 2

Returns true if stat is a symbolic link, false if it isn’t or if the operating system doesn’t support this feature. As File::stat automatically follows symbolic links, symlink? will always be false for an object returned by File::stat.

File.symlink("testfile", "alink")   #=> 0
File.stat("alink").symlink?         #=> false
File.lstat("alink").symlink?        #=> true

Returns true if stat has its sticky bit set, false if it doesn’t or if the operating system doesn’t support this feature.

File.stat("testfile").sticky?   #=> false
No documentation available

Normalize the list of files so that:

Checks that the specification contains all required fields, and does a very basic sanity check.

Raises InvalidSpecificationException if the spec does not pass the checks..

True if the dependency will not always match the latest version.

No documentation available
No documentation available

Create a DRbUnknownError exception containing this object.

No documentation available

Is this server alive?

No documentation available

Symmetric Householder reduction to tridiagonal form.

Symmetric tridiagonal QL algorithm.

Search took: 4ms  ·  Total Results: 1332