Methods |
public
|
getExportedFunctions(): array
Merge interface methods
|
#
|
public
|
do(null|string $version, null|string $pwd, string $command, array $args = [], array $env = []): array
Execute any-version command within the scope of a version
Execute any-version command within the scope of a version
Parameters
$pwd |
pwd, defaults to ~
|
$args |
optional command arguments
|
Returns
process output from pman_run
|
#
|
public
|
direct(
string $directive,
string|null $version,
string|null $pwd,
string $command,
array $args = [],
array $env = [],
): array
Execute any-version low-level command within the scope of a version
Execute any-version low-level command within the scope of a version
Directives may be discovered by sending 'help'
|
#
|
public
|
installed(string $version, string $comparator = '='): string|null
Any-version is installed
|
#
|
public
|
make_default(string $version, string $path = '~'): bool
Assign any-version version to directory
Assign any-version version to directory
|
#
|
public
|
version_from_path(string $path): string
Version inferred from path
Version inferred from path
|
#
|
public
|
install(string $version): ?string
|
#
|
public
|
get_available(): array
Get available Rubies
|
#
|
public
|
list(): array
List installed any-version versions
List installed any-version versions
|
#
|
public
|
uninstall(string $version): bool
Remove an installed any-version
Remove an installed any-version
|
#
|