Class: Capsium::Package::Security::UncheckedFile

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

Overview

A file on disk not covered by any checksum.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUncheckedFile

Returns a new instance of UncheckedFile.

Parameters:

  • path: (String path)


35
# File 'sig/capsium/package/security.rbs', line 35

def initialize: (path: String path) -> void

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



28
29
30
# File 'lib/capsium/package/security.rb', line 28

def path
  @path
end

Instance Method Details

#messageString

Returns:

  • (String)


29
30
31
# File 'lib/capsium/package/security.rb', line 29

def message
  "file not covered by checksums: #{path}"
end