Class: Igniter::Contracts::Assembly::PackManifest::RegistryContract
- Inherits:
-
Struct
- Object
- Struct
- Igniter::Contracts::Assembly::PackManifest::RegistryContract
- Defined in:
- lib/igniter/contracts/assembly/pack_manifest.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#registry ⇒ Object
Returns the value of attribute registry.
Instance Method Summary collapse
-
#initialize(registry:, key:) ⇒ RegistryContract
constructor
A new instance of RegistryContract.
Constructor Details
#initialize(registry:, key:) ⇒ RegistryContract
Returns a new instance of RegistryContract.
8 9 10 11 12 13 |
# File 'lib/igniter/contracts/assembly/pack_manifest.rb', line 8 def initialize(registry:, key:) super( registry: registry.to_sym, key: key.to_sym ) end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/igniter/contracts/assembly/pack_manifest.rb', line 7 def key @key end |
#registry ⇒ Object
Returns the value of attribute registry
7 8 9 |
# File 'lib/igniter/contracts/assembly/pack_manifest.rb', line 7 def registry @registry end |