Class: Igniter::Contracts::Assembly::PackManifest::PackDependency
- Inherits:
-
Struct
- Object
- Struct
- Igniter::Contracts::Assembly::PackManifest::PackDependency
- Defined in:
- lib/igniter/contracts/assembly/pack_manifest.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#pack ⇒ Object
Returns the value of attribute pack.
Instance Method Summary collapse
-
#initialize(name:, pack: nil) ⇒ PackDependency
constructor
A new instance of PackDependency.
Constructor Details
#initialize(name:, pack: nil) ⇒ PackDependency
Returns a new instance of PackDependency.
27 28 29 30 31 32 |
# File 'lib/igniter/contracts/assembly/pack_manifest.rb', line 27 def initialize(name:, pack: nil) super( name: name.to_sym, pack: pack ) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
26 27 28 |
# File 'lib/igniter/contracts/assembly/pack_manifest.rb', line 26 def name @name end |
#pack ⇒ Object
Returns the value of attribute pack
26 27 28 |
# File 'lib/igniter/contracts/assembly/pack_manifest.rb', line 26 def pack @pack end |