Results for: "to_proc"

The Process::Sys module contains UID and GID functions which provide direct bindings to the system calls of the same names instead of the more-portable versions of the same functionality found in the Process, Process::UID, and Process::GID modules.

Attempts to activate the current {#possibility} (given that it has already been activated) @return [void]

Attempts to activate the current {#possibility} (given that it hasn’t already been activated) @return [void]

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

returns the socket type as an integer.

Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true

Stops the profiler.

See Profiler__ for more information.

Add a new protocol to the DRbProtocol module.

Add a new protocol to the DRbProtocol module.

Processes the topmost available {RequirementState} on the stack @return [void]

Convert self to locale encoding

Returns true if the underlying file descriptor of ios will be closed automatically at its finalization, otherwise false.

Sets auto-close flag.

f = open("/dev/null")
IO.for_fd(f.fileno)
# ...
f.gets # may cause IOError

f = open("/dev/null")
IO.for_fd(f.fileno).autoclose = true
# ...
f.gets # won't cause IOError

Convert self to locale encoding

Convert self to locale encoding

Returns the ALPN protocol string that was finally selected by the server during the handshake.

Returns the protocol string that was finally selected by the client during the handshake.

Cleans up uninstalled files and invalid gem specifications

Creates a single-row matrix where the values of that row are as given in row.

Matrix.row_vector([4,5,6])
  => 4 5 6

Returns an array of the row vectors of the matrix. See Vector.

No documentation available

Sets the default proc to be executed on each failed key lookup.

h.default_proc = proc do |hash, key|
  hash[key] = key + key
end
h[2]       #=> 4
h["cat"]   #=> "catcat"
Search took: 5ms  ·  Total Results: 1969