Results for: "tally"

Emit a scalar with value, anchor, tag, and a plain or quoted string type with style.

See Psych::Handler#scalar

Emit an alias with anchor.

See Psych::Handler#alias

Get the output style, canonical or not.

Set the output style to canonical, or not.

Get the indentation level.

Set the indentation level to level. The level must be less than 10 and greater than 1.

Returns the exit status of the child for which PTY#check raised this exception

The scanner’s state of the current token. This value is the bitwise OR of zero or more of the Ripper::EXPR_* constants.

returns the socket family as an integer.

p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").family
#=> 10

returns the cmsg data as a string.

p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").data
#=> ""

returns the timestamp as a time object.

ancillarydata should be one of following type:

Returns the destination address of ifaddr. nil is returned if the flags doesn’t have IFF_POINTOPOINT.

Sends the String msg to the source

returns the socket family as an integer.

p Socket::Option.new(:INET6, :IPV6, :RECVPKTINFO, [1].pack("i!")).family
#=> 10

returns the socket option data as a string.

p Socket::Option.new(:INET6, :IPV6, :RECVPKTINFO, [1].pack("i!")).data
#=> "\x01\x00\x00\x00"

Total number of input bytes read so far.

Total number of output bytes output so far.

Reads at most maxlen bytes from the gziped stream but it blocks only if gzipreader has no data immediately available. If the optional outbuf argument is present, it must reference a String, which will receive the data. It raises EOFError on end of file.

Returns true if stat is writable by the effective user id of this process.

File.stat("testfile").writable?   #=> true

Returns true if stat is executable or if the operating system doesn’t distinguish executable files from nonexecutable files. The tests are made using the effective owner of the process.

File.stat("testfile").executable?   #=> false

Iterates over values and objects in a weakly referenced object

No documentation available

Evaluates the instruction sequence and returns the result.

RubyVM::InstructionSequence.compile("1 + 2").eval #=> 3

Returns the value or list of values for this cookie.

Replaces the value of this cookie with a new value or list of values.

Search took: 3ms  ·  Total Results: 1304