Class: ProDos
- Inherits:
-
FileSystem
- Object
- FileSystem
- ProDos
- Defined in:
- lib/file_systems/ProDos.rb
Overview
Disk image in ProDOS format
Instance Attribute Summary collapse
-
#volume_name ⇒ Object
readonly
Returns the value of attribute volume_name.
Class Method Summary collapse
-
.files(file_system_image) ⇒ Object
returns a FileContainer of of the native files contained in file system image.
- .host_system ⇒ Object
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
Instance Attribute Details
#volume_name ⇒ Object (readonly)
Returns the value of attribute volume_name.
12 13 14 |
# File 'lib/file_systems/ProDos.rb', line 12 def volume_name @volume_name end |
Class Method Details
.files(file_system_image) ⇒ Object
returns a FileContainer of of the native files contained in file system image
29 30 31 32 33 34 35 |
# File 'lib/file_systems/ProDos.rb', line 29 def self.files(file_system_image) files=FileContainer.new ProDos.read_catalog(file_system_image,2,"").flatten.each do |file| files<<file end files end |
.host_system ⇒ Object
13 14 15 |
# File 'lib/file_systems/ProDos.rb', line 13 def self.host_system Apple2 end |