lib/invoker/power/config.rb in invoker-1.0.0 vs lib/invoker/power/config.rb in invoker-1.0.1
- old
+ new
@@ -15,9 +15,15 @@
end
config = new(options)
config.save
end
+ def self.delete
+ if File.exists?(CONFIG_LOCATION)
+ File.delete(CONFIG_LOCATION)
+ end
+ end
+
def initialize(options = {})
@config = options
end
def self.load_config