Type:
Module
Constants:
WINDOWS : RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw|[Ww]indows)!
RUNNABLE_EXTS : %w[com exe bat cmd]
RUNNABLE_PATTERN : %r!\.(#{RUNNABLE_EXTS.join('|')})\Z!i

Alternate implementations of system() and backticks “ on Windows for ruby-1.8 and earlier.

find_runnable

find_runnable(file) Instance Public methods

2015-04-30 00:48:22
define_module_function

define_module_function(name, &block) Class Public methods

2015-04-30 00:41:30
backticks

backticks(cmd) Instance Public methods

2015-04-30 00:42:45
system

system(cmd, *args) Instance Public methods

2015-04-30 00:57:18
repair_command

repair_command(cmd) Instance Public methods

2015-04-30 00:53:54