Dead code removal.

This commit is contained in:
Netscape Navigator 2019-12-01 20:48:42 -06:00
parent 55c02e06df
commit 0f615f92d7
2 changed files with 0 additions and 12 deletions

BIN
db.pigeon

Binary file not shown.

View File

@ -18,10 +18,6 @@ module Pigeon
@current ||= self.new
end
def initialize
create_pstore unless initialized?
end
def set_config(key, value)
store.transaction do
store[CONF_NS] ||= {}
@ -100,14 +96,6 @@ module Pigeon
private
def initialized?
File.file?(PIGEON_DB_PATH)
end
def create_pstore
FileUtils.rm(PIGEON_DB_PATH) if File.file?(PIGEON_DB_PATH)
end
def store
@store ||= PStore.new(PIGEON_DB_PATH)
end