Class: Beni::Target
- Inherits:
-
Object
- Object
- Beni::Target
- Defined in:
- lib/beni/target.rb,
sig/beni/target.rbs
Overview
A target <name> declaration (SPEC.md Terminology: target
declaration) — names one build target to verify and holds the
toolchain references its block declared.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#references ⇒ Array[String]
readonly
Returns the value of attribute references.
Instance Method Summary collapse
-
#initialize ⇒ Target
constructor
A new instance of Target.
Constructor Details
#initialize ⇒ Target
Returns a new instance of Target.
6 |
# File 'sig/beni/target.rbs', line 6
def initialize: (name: String, references: Array[String]) -> void
|
Instance Attribute Details
#name ⇒ String (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'sig/beni/target.rbs', line 3 def name @name end |
#references ⇒ Array[String] (readonly)
Returns the value of attribute references.
4 5 6 |
# File 'sig/beni/target.rbs', line 4 def references @references end |