Sha256: cebd8ce8cd669949fe3c44324a6ea8b6456ab7e7031aedf7f79a79f4d809b9b8

Contents?: true

Size: 370 Bytes

Versions: 13

Compression:

Stored size: 370 Bytes

Contents

module DBF
  module Memo
    class Dbase3 < Base
      def build_memo(start_block) # nodoc
        @data.seek offset(start_block)
        memo_string = ''
        loop do
          block = @data.read(BLOCK_SIZE).gsub(/(\000|\032)/, '')
          memo_string << block
          break if block.size < BLOCK_SIZE
        end
        memo_string
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dbf-3.1.1 lib/dbf/memo/dbase3.rb
dbf-3.1.0 lib/dbf/memo/dbase3.rb
dbf-3.0.8 lib/dbf/memo/dbase3.rb
dbf-3.0.7 lib/dbf/memo/dbase3.rb
dbf-3.0.5 lib/dbf/memo/dbase3.rb
dbf-3.0.4 lib/dbf/memo/dbase3.rb
dbf-3.0.3 lib/dbf/memo/dbase3.rb
dbf-3.0.2 lib/dbf/memo/dbase3.rb
dbf-3.0.1 lib/dbf/memo/dbase3.rb
dbf-3.0.0 lib/dbf/memo/dbase3.rb
dbf-2.0.13 lib/dbf/memo/dbase3.rb
dbf-2.0.12 lib/dbf/memo/dbase3.rb
dbf-2.0.11 lib/dbf/memo/dbase3.rb