Class: Pray::LockedPackage
- Inherits:
-
Struct
- Object
- Struct
- Pray::LockedPackage
- Defined in:
- lib/pray/lockfile.rb
Instance Attribute Summary collapse
-
#artifact ⇒ Object
Returns the value of attribute artifact.
-
#artifact_hash ⇒ Object
Returns the value of attribute artifact_hash.
-
#dependencies ⇒ Object
Returns the value of attribute dependencies.
-
#exports ⇒ Object
Returns the value of attribute exports.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#signer_fingerprint ⇒ Object
Returns the value of attribute signer_fingerprint.
-
#source ⇒ Object
Returns the value of attribute source.
-
#tree_hash ⇒ Object
Returns the value of attribute tree_hash.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(exports: [], dependencies: [], signer_fingerprint: nil, source: nil, **kwargs) ⇒ LockedPackage
constructor
A new instance of LockedPackage.
Constructor Details
#initialize(exports: [], dependencies: [], signer_fingerprint: nil, source: nil, **kwargs) ⇒ LockedPackage
Returns a new instance of LockedPackage.
13 14 15 |
# File 'lib/pray/lockfile.rb', line 13 def initialize(exports: [], dependencies: [], signer_fingerprint: nil, source: nil, **kwargs) super(**kwargs, exports: exports, dependencies: dependencies, signer_fingerprint: signer_fingerprint, source: source) end |
Instance Attribute Details
#artifact ⇒ Object
Returns the value of attribute artifact
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def artifact @artifact end |
#artifact_hash ⇒ Object
Returns the value of attribute artifact_hash
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def artifact_hash @artifact_hash end |
#dependencies ⇒ Object
Returns the value of attribute dependencies
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def dependencies @dependencies end |
#exports ⇒ Object
Returns the value of attribute exports
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def exports @exports end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def name @name end |
#path ⇒ Object
Returns the value of attribute path
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def path @path end |
#signer_fingerprint ⇒ Object
Returns the value of attribute signer_fingerprint
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def signer_fingerprint @signer_fingerprint end |
#source ⇒ Object
Returns the value of attribute source
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def source @source end |
#tree_hash ⇒ Object
Returns the value of attribute tree_hash
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def tree_hash @tree_hash end |
#version ⇒ Object
Returns the value of attribute version
9 10 11 |
# File 'lib/pray/lockfile.rb', line 9 def version @version end |