Class: Capsium::Package::Store::CatalogEntry

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

Overview

One store .cap with its identity per its metadata.json.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#guidObject (readonly)

Returns the value of attribute guid

Returns:

  • (Object)

    the current value of guid



18
19
20
# File 'lib/capsium/package/store.rb', line 18

def guid
  @guid
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



18
19
20
# File 'lib/capsium/package/store.rb', line 18

def path
  @path
end

#versionObject (readonly)

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



18
19
20
# File 'lib/capsium/package/store.rb', line 18

def version
  @version
end

Class Method Details

.newvoid

This method returns an undefined value.

Parameters:

  • path (String)
  • guid (String, nil)
  • version (Version)


13
# File 'sig/capsium/package/store.rbs', line 13

def self.new: (String path, String? guid, Version version) -> void