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:
parent
47430ce611
commit
7ea4f19698
1 changed files with 0 additions and 8 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Reference in a new issue