abstract class MStrap::RuntimeManager
- MStrap::RuntimeManager
- Reference
- Object
Included Modules
Direct Known Subclasses
Defined in:
mstrap/runtime_manager.crClass Method Summary
Instance Method Summary
- #current_version(language_name : String) : String | Nil
- #has_plugin?(language_name : String) : Bool
- #install_plugin(language_name : String) : Bool
- #install_version(language_name : String, version : String) : Bool
- #installed_versions(language_name : String) : Array(String)
- #latest_version(language_name : String) : String
- #name : String
- #runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil)
- #set_global_version(language_name : String, 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 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
Class Method Detail
Instance Method Detail
abstract
def runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil)
#