Class: Capsium::Package::Bundle::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/capsium/package/bundle.rb,
sig/capsium/package/bundle.rbs

Overview

One bundled dependency: the absolute .cap path, its version and the SHA-256 recorded in the manifest.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



38
39
40
# File 'lib/capsium/package/bundle.rb', line 38

def file
  @file
end

#sha256Object (readonly)

Returns the value of attribute sha256

Returns:

  • (Object)

    the current value of sha256



38
39
40
# File 'lib/capsium/package/bundle.rb', line 38

def sha256
  @sha256
end

#versionObject (readonly)

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



38
39
40
# File 'lib/capsium/package/bundle.rb', line 38

def version
  @version
end

Class Method Details

.newvoid

This method returns an undefined value.

Parameters:

  • file (String)
  • version (String)
  • sha256 (String)


15
# File 'sig/capsium/package/bundle.rbs', line 15

def self.new: (String file, String version, String sha256) -> void