class Object

Public Instance Methods

upgrade_config() click to toggle source
# File exe/gpuzzletime, line 11
def upgrade_config
  FileUtils.mv Pathname.new('~/.config/gpuzzletime').expand_path,
               Pathname.new('~/.config/ptimelog').expand_path,
               verbose: true
end
upgrade_needed?() click to toggle source
# File exe/gpuzzletime, line 7
def upgrade_needed?
  Pathname.new('~/.config/gpuzzletime').expand_path.exist?
end