Results for: "pstore"

If file_name is readable by others, returns an integer representing the file permission bits of file_name. Returns nil otherwise. The meaning of the bits is platform dependent; on Unix systems, see stat(2).

file_name can be an IO object.

File.world_readable?("/etc/passwd")           #=> 420
m = File.world_readable?("/etc/passwd")
sprintf("%o", m)                              #=> "644"

Stop the local dRuby server.

This operates on the primary server. If there is no primary server currently running, it is a noop.

Stop the local dRuby server.

This operates on the primary server. If there is no primary server currently running, it is a noop.

Registers server with DRb.

This is called when a new DRb::DRbServer is created.

If there is no primary server then server becomes the primary server.

Example:

require 'drb'

s = DRb::DRbServer.new # automatically calls regist_server
DRb.fetch_server s.uri #=> #<DRb::DRbServer:0x...>

Registers server with DRb.

This is called when a new DRb::DRbServer is created.

If there is no primary server then server becomes the primary server.

Example:

require 'drb'

s = DRb::DRbServer.new # automatically calls regist_server
DRb.fetch_server s.uri #=> #<DRb::DRbServer:0x...>

Copies stream src to dest. src must respond to read(n) and dest must respond to write(str).

Copies stream src to dest. src must respond to read(n) and dest must respond to write(str).

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

Adds a post-install hook that will be passed an Gem::Installer instance when Gem::Installer#install is called

Adds a hook that will get run after Gem::Specification.reset is run.

Adds a post-uninstall hook that will be passed a Gem::Uninstaller instance and the spec that was uninstalled when Gem::Uninstaller#uninstall is called

Adds a pre-install hook that will be passed an Gem::Installer instance when Gem::Installer#install is called. If the hook returns false then the install will be aborted.

Adds a hook that will get run before Gem::Specification.reset is run.

Adds a pre-uninstall hook that will be passed an Gem::Uninstaller instance and the spec that will be uninstalled when Gem::Uninstaller#uninstall is called

No documentation available

How String Gem paths should be split. Overridable for esoteric platforms.

Returns the status of the last executed child process in the current thread.

Process.wait Process.spawn("ruby", "-e", "exit 13")
Process.last_status   #=> #<Process::Status: pid 4825 exit 13>

If no child process has ever been executed in the current thread, this returns nil.

Process.last_status   #=> nil

Is this handler a streaming handler?

A set of tasks to prepare the file in order to parse it

No documentation available
Search took: 3ms  ·  Total Results: 3004