103 104 105 106 107
# File 'lib/database.rb', line 103 def create_new_id max_id = @database.keys.max id = max_id ? max_id + 1 : 0 id end