1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-17 08:30:04 +00:00

remove useless function check_config

This commit is contained in:
nishiki 2016-05-15 23:37:57 +02:00
parent 47430ce611
commit 7ea4f19698

View file

@ -179,13 +179,6 @@ class MPW
@keys.delete(key)
end
# TODO
def check_config
if false
raise 'ERROR'
end
end
# Set config
# args: config -> a hash with config options
def set_config(config)
@ -277,7 +270,6 @@ class MPW
# Import to yaml
# @args: file -> path to file import
# TODO raise
def import(file)
YAML::load_file(file).each_value do |row|
item = Item.new(name: row['name'],