Class: Capsium::Package::ResolvedDependency
- Inherits:
-
Data
- Object
- Data
- Capsium::Package::ResolvedDependency
- Defined in:
- lib/capsium/package/dependency_resolver.rb,
sig/capsium/package/dependency_resolver.rbs
Overview
One resolved dependency: the declared GUID and range, the .cap it resolved to and the loaded package.
Instance Attribute Summary collapse
-
#guid ⇒ Object
readonly
Returns the value of attribute guid.
-
#package ⇒ Object
readonly
Returns the value of attribute package.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#range ⇒ Object
readonly
Returns the value of attribute range.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#guid ⇒ Object (readonly)
Returns the value of attribute guid
24 25 26 |
# File 'lib/capsium/package/dependency_resolver.rb', line 24 def guid @guid end |
#package ⇒ Object (readonly)
Returns the value of attribute package
24 25 26 |
# File 'lib/capsium/package/dependency_resolver.rb', line 24 def package @package end |
#path ⇒ Object (readonly)
Returns the value of attribute path
24 25 26 |
# File 'lib/capsium/package/dependency_resolver.rb', line 24 def path @path end |
#range ⇒ Object (readonly)
Returns the value of attribute range
24 25 26 |
# File 'lib/capsium/package/dependency_resolver.rb', line 24 def range @range end |
Class Method Details
.new ⇒ void
This method returns an undefined value.
28 |
# File 'sig/capsium/package/dependency_resolver.rbs', line 28
def self.new: (String guid, String range, String path, Package package) -> void
|
Instance Method Details
#version ⇒ String?
25 26 27 |
# File 'lib/capsium/package/dependency_resolver.rb', line 25 def version package..version end |