Class: C64SinglePrgImage

Inherits:
ImageFormat show all
Defined in:
lib/image_formats/C64SinglePrgImage.rb

Instance Attribute Summary

Attributes inherited from ImageFormat

#file_bytes

Class Method Summary collapse

Methods inherited from ImageFormat

all_image_formats, all_possible_extensions, code_for_tests, #compatability_score, #end_track, #get_sector, #host_system, #initialize, is_valid_image_if, possible_file_systems, #sectors_in_track, #start_track, #to_s, #track_count, #track_list

Methods included from SubclassTracking

extended

Constructor Details

This class inherits a constructor from ImageFormat

Class Method Details

.host_systemObject



16
17
18
# File 'lib/image_formats/C64SinglePrgImage.rb', line 16

def self.host_system
    C64
end

.possible_extensionsObject



12
13
14
# File 'lib/image_formats/C64SinglePrgImage.rb', line 12

def self.possible_extensions
    ['.prg']
end