Results for: "slice"

No documentation available
No documentation available

Serializes the public key to DER-encoded X.509 SubjectPublicKeyInfo format.

Serializes the public key to PEM-encoded X.509 SubjectPublicKeyInfo format.

Expands lazy enumerator to an array. See Enumerable#to_a.

No documentation available
No documentation available
No documentation available

Indicated whether this Cipher instance uses an Authenticated Encryption mode.

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 anchor, *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[0].

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.

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
Search took: 5ms  ·  Total Results: 1082