Skip to content

v0.3.0

Compare
Choose a tag to compare
@fnordfish fnordfish released this 08 Nov 17:40
· 14 commits to main since this release

New Ascii Dump Reader (#3)

reader = Gdbmish::Read::Ascii.new(File.open("my.dump"))

# get meta data
reader.meta.file # => "my.db"

# either iterate over data:
reader.data do |key, value|
  puts "#{key.inspect} => #{value.inspect}"
end

# or use the Iterator to transform into Hash
reader.data.to_h