Class: Zx81Snapshot
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
extended
Class Method Details
.files(file_system_image) ⇒ Object
15
16
17
18
19
20
21
|
# File 'lib/file_systems/Zx81Snapshot.rb', line 15
def self.files(file_system_image)
files=FileContainer.new
file_name=File. basename(file_system_image.filename,".p").upcase
file_type=nil
files<<NativeFileType.best_fit(file_system_image,file_name,file_system_image.file_bytes,file_type)
files
end
|
.host_system ⇒ Object
11
12
13
|
# File 'lib/file_systems/Zx81Snapshot.rb', line 11
def self.host_system
Zx81
end
|