Class: Beni::ToolchainDefinition
- Inherits:
-
Object
- Object
- Beni::ToolchainDefinition
- Defined in:
- lib/beni/toolchain_definition.rb,
sig/beni/toolchain_definition.rbs
Overview
A top-level toolchain <name> block (SPEC.md Terminology: toolchain
definition) — carries the version and sha256 pair that replaces
the named toolchain's built-in pair.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#sha256 ⇒ String
readonly
Returns the value of attribute sha256.
-
#version ⇒ String
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ ToolchainDefinition
constructor
A new instance of ToolchainDefinition.
Constructor Details
#initialize ⇒ ToolchainDefinition
Returns a new instance of ToolchainDefinition.
7 |
# File 'sig/beni/toolchain_definition.rbs', line 7
def initialize: (name: String, version: String, sha256: String) -> void
|
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'sig/beni/toolchain_definition.rbs', line 3 def name @name end |
#sha256 ⇒ String (readonly)
Returns the value of attribute sha256.
5 6 7 |
# File 'sig/beni/toolchain_definition.rbs', line 5 def sha256 @sha256 end |
#version ⇒ String (readonly)
Returns the value of attribute version.
4 5 6 |
# File 'sig/beni/toolchain_definition.rbs', line 4 def version @version end |