Class: Librarian::Lockfile::Parser::ManifestPlaceholder
- Inherits:
-
Object
- Object
- Librarian::Lockfile::Parser::ManifestPlaceholder
- Defined in:
- lib/librarian/lockfile/parser.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(source, name, version, dependencies) ⇒ ManifestPlaceholder
constructor
A new instance of ManifestPlaceholder.
Constructor Details
#initialize(source, name, version, dependencies) ⇒ ManifestPlaceholder
Returns a new instance of ManifestPlaceholder.
11 12 13 |
# File 'lib/librarian/lockfile/parser.rb', line 11 def initialize(source, name, version, dependencies) @source, @name, @version, @dependencies = source, name, version, dependencies end |
Instance Attribute Details
#dependencies ⇒ Object (readonly)
Returns the value of attribute dependencies.
10 11 12 |
# File 'lib/librarian/lockfile/parser.rb', line 10 def dependencies @dependencies end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/librarian/lockfile/parser.rb', line 10 def name @name end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
10 11 12 |
# File 'lib/librarian/lockfile/parser.rb', line 10 def source @source end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
10 11 12 |
# File 'lib/librarian/lockfile/parser.rb', line 10 def version @version end |