lib/modules/storage.rb in codebreaker_kolyanjy-0.1.6 vs lib/modules/storage.rb in codebreaker_kolyanjy-0.1.7

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true module Codebreaker module Storage - FILE_PATH = '/lib/data/data.yml' + FILE_PATH = 'lib/data/data.yml' def save(data) create_storage unless storage_exist? File.open(FILE_PATH, 'w') { |file| file.write data.to_yaml } end