Class: C64PrgSnapshot

Inherits:
FileSystem show all
Defined in:
lib/file_systems/C64PrgSnapshot.rb

Class Method Summary collapse

Methods inherited from FileSystem

all_file_systems, code_for_tests, compatability_score, is_valid_file_system_if, matching_score, non_matching_score

Methods included from SubclassTracking

extended

Class Method Details

.files(file_system_image) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/file_systems/C64PrgSnapshot.rb', line 16

def self.files(file_system_image)
  files=FileContainer.new
  file_name=File. basename(file_system_image.filename,".prg")
  file_type=:prg
  files<<NativeFileType.best_fit(file_system_image,file_name,file_system_image.file_bytes,file_type)
  files
end

.host_systemObject



12
13
14
# File 'lib/file_systems/C64PrgSnapshot.rb', line 12

def self.host_system
  C64
end