Results for: "slice"

Called when an alias is found to anchor. anchor will be the name of the anchor found.

Example

Here we have an example of an array that references itself in YAML:

--- &ponies
- first element
- *ponies

&ponies is the achor, *ponies is the alias. In this case, alias is called with “ponies”.

No documentation available

Emit an alias with anchor.

See Psych::Handler#alias

Get the output style, canonical or not.

Set the output style to canonical, or not.

Exit parser. Return value is Symbol_Value_Stack.

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

Create a DRbUnknownError exception containing this object.

Is this server alive?

No documentation available

Symmetric Householder reduction to tridiagonal form.

Symmetric tridiagonal QL algorithm.

Search took: 4ms  ·  Total Results: 1199