abstract class MStrap::RuntimeManager

Included Modules

Direct Known Subclasses

Defined in:

mstrap/runtime_manager.cr

Class Method Summary

Instance Method Summary

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

def self.for(runtime_manager_name : String) #

[View source]

Instance Method Detail

abstract def current_version(language_name : String) : String | Nil #

[View source]
def has_plugin?(language_name : String) : Bool #

[View source]
abstract def install_plugin(language_name : String) : Bool #

[View source]
abstract def install_version(language_name : String, version : String) : Bool #

[View source]
abstract def installed_versions(language_name : String) : Array(String) #

[View source]
abstract def latest_version(language_name : String) : String #

[View source]
def name : String #

[View source]
abstract def runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil) #

[View source]
abstract def set_global_version(language_name : String, version : String) : Bool #

[View source]
abstract def set_version(language_name : String, version : String | Nil) : Bool #

[View source]
abstract def shell_activation(shell_name : String) : String #

[View source]
abstract def supported_languages : Array(String) #

[View source]