Class: Librarian::Lockfile::Parser::ManifestPlaceholder

Inherits:
Object
  • Object
show all
Defined in:
lib/librarian/lockfile/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



10
11
12
# File 'lib/librarian/lockfile/parser.rb', line 10

def dependencies
  @dependencies
end

#nameObject (readonly)

Returns the value of attribute name.



10
11
12
# File 'lib/librarian/lockfile/parser.rb', line 10

def name
  @name
end

#sourceObject (readonly)

Returns the value of attribute source.



10
11
12
# File 'lib/librarian/lockfile/parser.rb', line 10

def source
  @source
end

#versionObject (readonly)

Returns the value of attribute version.



10
11
12
# File 'lib/librarian/lockfile/parser.rb', line 10

def version
  @version
end