capture2e

capture2e(*cmd) Class Public methods ::capture2e captures the standard output and the standard error of a command. stdout_and_stderr_str, status = Open3.capture2e([env,] cmd... [, opts]) The arguments env, cmd and opts are passed to ::popen3 except opts and opts. See Process.spawn. If opts is specified, it is sent to the command's standard input. If opts is true, internal pipes are set to binary mode. Example: # capture make log make_log, s = Open3.capture2e("make")

reason

local_jump_error.reason â symbol Instance Public methods The reason this block was terminated: :break, :redo, :retry, :next, :return, or :noreason.

readable?

readable?() Instance Public methods See FileTest#readable?.

inspect

e.inspect â string Instance Public methods Creates a printable version of e. old_inspect

new

new(namespace = nil) Class Public methods

fetch_path

fetch_path(uri, mtime = nil, head = false) Instance Public methods Downloads uri and returns it as a String.

_get_global_var

_get_global_var(var) Class Public methods

constantize

constantize() Instance Public methods constantize tries to find a declared constant with the name specified in the string. It raises a NameError when the name is not in CamelCase or is not initialized. See ActiveSupport::Inflector#constantize 'Module'.constantize # => Module 'Class'.constantize # => Class 'blargle'.constantize # => NameError: wrong constant name blargle

async

async() Instance Public methods HRESULT async get asynchronous loading flag. BOOL arg0 --- pf [OUT]

get

get(*index) Instance Public methods