Class: Ole::Storage::AllocationTable::Small
- Inherits:
-
Ole::Storage::AllocationTable
- Object
- Array
- Ole::Storage::AllocationTable
- Ole::Storage::AllocationTable::Small
- Defined in:
- lib/ole/storage/base.rb
Constant Summary
Constants inherited from Ole::Storage::AllocationTable
Instance Attribute Summary
Attributes inherited from Ole::Storage::AllocationTable
Instance Method Summary collapse
-
#initialize(*args) ⇒ Small
constructor
A new instance of Small.
Methods inherited from Ole::Storage::AllocationTable
#[]=, #blocks_to_ranges, #chain, #free_block, #load, #open, #ranges, #read, #resize_chain, #to_s, #truncate, #truncate!
Constructor Details
#initialize(*args) ⇒ Small
Returns a new instance of Small.
585 586 587 588 589 |
# File 'lib/ole/storage/base.rb', line 585 def initialize(*args) super @block_size = 1 << @ole.header.s_shift @io = @ole.sb_file end |