99 100 101 102 103
# File 'lib/database.rb', line 99 def get_new_id max_id = @database.keys.max id = max_id ? max_id + 1 : 0 id end