Class: Pray::RegistryPackageMetadata
- Inherits:
-
Struct
- Object
- Struct
- Pray::RegistryPackageMetadata
- Defined in:
- lib/pray/registry.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#versions ⇒ Object
Returns the value of attribute versions.
Instance Method Summary collapse
-
#initialize(name: nil, versions: []) ⇒ RegistryPackageMetadata
constructor
A new instance of RegistryPackageMetadata.
Constructor Details
#initialize(name: nil, versions: []) ⇒ RegistryPackageMetadata
Returns a new instance of RegistryPackageMetadata.
26 27 28 |
# File 'lib/pray/registry.rb', line 26 def initialize(name: nil, versions: []) super end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
25 26 27 |
# File 'lib/pray/registry.rb', line 25 def name @name end |
#versions ⇒ Object
Returns the value of attribute versions
25 26 27 |
# File 'lib/pray/registry.rb', line 25 def versions @versions end |