Methods |
public
|
__construct()
|
#
|
public
|
do(null|string $version, null|string $pwd, string $command, array ...$args): array
Execute Ruby within the scope of a version
Execute Ruby within the scope of a version
Parameters
$pwd |
pwd, defaults to ~
|
...$args |
optional command arguments
|
Returns
process output from pman_run
|
#
|
public
|
update_remote(): bool
Update known Ruby versions
Update known Ruby versions
|
#
|
public
|
uninstall(string $version): bool
Remove an installed Ruby
|
#
|
public
|
make_default(string $version, string $path = '~'): bool
Assign Ruby version to directory
Assign Ruby version to directory
|
#
|
public
|
install(string $version): null|string
Install Ruby
Returns
version installed, null on failure
|
#
|
public
|
installed(string $version, string $comparator = '='): string|null
Ruby version is installed
Ruby version is installed
Returns
|
#
|
public
|
lts_installed(): bool
Latest LTS is installed
|
#
|