Class: Iso9660::SparseFile
- Inherits:
-
Object
- Object
- Iso9660::SparseFile
- Defined in:
- lib/fs/iso9660/rock_ridge.rb
Overview
Um, sparse file is pretty complicated so I’m just going to get the first three going and then worry about this.
Instance Attribute Summary collapse
-
#fileData ⇒ Object
readonly
Returns the value of attribute fileData.
-
#flags ⇒ Object
readonly
Returns the value of attribute flags.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
Instance Method Summary collapse
-
#initialize(data, suff) ⇒ SparseFile
constructor
A new instance of SparseFile.
Constructor Details
#initialize(data, suff) ⇒ SparseFile
Returns a new instance of SparseFile.
224 225 226 227 228 229 |
# File 'lib/fs/iso9660/rock_ridge.rb', line 224 def initialize(data, suff) @sf = RR_SF.decode(data) @flags = 0 @suff = suff raise "Sparse file." end |
Instance Attribute Details
#fileData ⇒ Object (readonly)
Returns the value of attribute fileData.
222 223 224 |
# File 'lib/fs/iso9660/rock_ridge.rb', line 222 def fileData @fileData end |
#flags ⇒ Object (readonly)
Returns the value of attribute flags.
222 223 224 |
# File 'lib/fs/iso9660/rock_ridge.rb', line 222 def flags @flags end |
#length ⇒ Object (readonly)
Returns the value of attribute length.
222 223 224 |
# File 'lib/fs/iso9660/rock_ridge.rb', line 222 def length @length end |