MStrap::Runtime
Inherits MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object
Base class for working with language runtimes
Constructors
Instance methods
Returns the version of the language runtime used by the current directory or specified by the environment.
NOTE: This will not traverse parent directories to find versions files.
Returns whether the ASDF plugin has been installed for a language runtime or not
Returns whether any versions of the language runtime have been installed by ASDF.
Installs global packages for the runtime with an optional version specification, and optional runtime version.
NOTE: The version specification is dependent upon the underlying package manager and is passed verbatim.
Returns the latest version available for the language runtime, according to the runtime manager
Execute a command using a specific language runtime version
Installs runtime manager plugin for the language runtime and installs any of the language runtime dependencies for the project.
Executes the block's context using the given directory's language runtime version or the version specified by the environment.
NOTE: This will not traverse parent directories to find versions files.