class MStrap::RuntimeManagers::ASDF
- MStrap::RuntimeManagers::ASDF
- MStrap::RuntimeManager
- Reference
- Object
Defined in:
mstrap/runtime_managers/asdf.crInstance Method Summary
- #current_version(language_name : String) : String | Nil
-
#has_plugin?(language_name : String) : Bool
Returns whether the ASDF plugin has been installed for a language runtime or not
- #install_plugin(language_name : String) : Bool
- #install_version(language_name : String, version : String) : Bool
-
#installed_versions(language_name : String) : Array(String)
Returns a list of the versions of the language runtime installed by ASDF.
- #latest_version(language_name : String) : String
-
#plugin_name(language_name : String) : String | Nil
Name of the ASDF plugin for a particular language
-
#runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil)
Execute a command using a specific language runtime version
- #set_global_version(language_name, version : String) : Bool
- #set_version(language_name : String, version : String | Nil) : Bool
- #shell_activation(shell_name : String) : String
- #supported_languages : Array(String)
Instance methods inherited from class MStrap::RuntimeManager
current_version(language_name : String) : String | Nil
current_version,
has_plugin?(language_name : String) : Bool
has_plugin?,
install_plugin(language_name : String) : Bool
install_plugin,
install_version(language_name : String, version : String) : Bool
install_version,
installed_versions(language_name : String) : Array(String)
installed_versions,
latest_version(language_name : String) : String
latest_version,
name : String
name,
runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil)
runtime_exec,
set_global_version(language_name : String, version : String) : Bool
set_global_version,
set_version(language_name : String, version : String | Nil) : Bool
set_version,
shell_activation(shell_name : String) : String
shell_activation,
supported_languages : Array(String)
supported_languages
Class methods inherited from class MStrap::RuntimeManager
for(runtime_manager_name : String)
for
Instance methods inherited from module MStrap::DSL::System
cmd(env : Hash | Nil, command : String, args : Array(String) | Nil, **kwargs)
cmd,
has_command?(command_name : String, **kwargs) : Bool
has_command?
Instance methods inherited from module MStrap::DSL::Logging
log(msg)
log,
logc(msg)
logc,
logd(msg)
logd,
logn(msg)
logn,
logw(msg)
logw,
success(msg)
success
Instance Method Detail
def has_plugin?(language_name : String) : Bool
#
Returns whether the ASDF plugin has been installed for a language runtime or not
def installed_versions(language_name : String) : Array(String)
#
Returns a list of the versions of the language runtime installed by ASDF.
def plugin_name(language_name : String) : String | Nil
#
Name of the ASDF plugin for a particular language
def runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil)
#
Execute a command using a specific language runtime version