Dead code removal.
This commit is contained in:
parent
55c02e06df
commit
0f615f92d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue