Class: ManifestV20070829::PartInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/ec2/amitools/manifestv20070829.rb

Overview

AMI part information container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, digest) ⇒ PartInformation

Initialize with part’s filename and digest as byte string.



34
35
36
# File 'lib/ec2/amitools/manifestv20070829.rb', line 34

def initialize(filename, digest)
  @filename , @digest = filename, digest
end

Instance Attribute Details

#digestObject (readonly)

Part’s digest hex encoded.



31
32
33
# File 'lib/ec2/amitools/manifestv20070829.rb', line 31

def digest
  @digest
end

#filenameObject (readonly)

Part’s file basename.



30
31
32
# File 'lib/ec2/amitools/manifestv20070829.rb', line 30

def filename
  @filename
end