From 7ea4f19698817d9566e7eb1ba0cb71674ffbf896 Mon Sep 17 00:00:00 2001 From: nishiki Date: Sun, 15 May 2016 23:37:57 +0200 Subject: [PATCH] remove useless function check_config --- lib/mpw/mpw.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/mpw/mpw.rb b/lib/mpw/mpw.rb index 767522a..64e7972 100644 --- a/lib/mpw/mpw.rb +++ b/lib/mpw/mpw.rb @@ -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'],