Class: AppleSoftFile
Constant Summary
Constants inherited from DSKFile
Instance Attribute Summary
Attributes inherited from DOSFile
Attributes inherited from DSKFile
Instance Method Summary collapse
- #file_extension ⇒ Object
- #file_type ⇒ Object
- #file_type_byte ⇒ Object
-
#to_s ⇒ Object
display file with all AppleSoft BASIC tokens expanded to ASCII.
Methods inherited from DOSFile
#catalog_filename, catalog_filename, #initialize
Methods inherited from DSKFile
#==, #buffer_as_applesoft_file, #can_be_picture?, #hex_dump, #initialize, #length_in_sectors, #to_ascii
Constructor Details
This class inherits a constructor from DOSFile
Instance Method Details
#file_extension ⇒ Object
320 321 322 |
# File 'lib/DOSFile.rb', line 320 def file_extension ".bas" end |
#file_type ⇒ Object
307 308 309 |
# File 'lib/DOSFile.rb', line 307 def file_type "A" end |
#file_type_byte ⇒ Object
311 312 313 |
# File 'lib/DOSFile.rb', line 311 def file_type_byte 0x02 end |
#to_s ⇒ Object
display file with all AppleSoft BASIC tokens expanded to ASCII
316 317 318 |
# File 'lib/DOSFile.rb', line 316 def to_s buffer_as_applesoft_file(@contents) end |