Class: DBF::Memo::Dbase4

Inherits:
Base
  • Object
show all
Defined in:
lib/dbf/memo/dbase4.rb

Constant Summary

Constants inherited from Base

Base::BLOCK_HEADER_SIZE, Base::BLOCK_SIZE

Instance Method Summary collapse

Methods inherited from Base

#close, #closed?, #get, #initialize, open

Constructor Details

This class inherits a constructor from DBF::Memo::Base

Instance Method Details

#build_memo(start_block) ⇒ Object

:nodoc:



4
5
6
7
# File 'lib/dbf/memo/dbase4.rb', line 4

def build_memo(start_block) # :nodoc:
  @data.seek offset(start_block)
  @data.read(@data.read(BLOCK_HEADER_SIZE).unpack1('x4L'))
end