class Configuration

Constants

FILE_PATH

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/pushnote/configuration.rb, line 7
def initialize
  unless File.exist?(FILE_PATH)
    template_path = File.expand_path('../../../.pushnote.yml', __FILE__)
    FileUtils.cp(template_path, FILE_PATH)
  end
  super(YAML.load_file(FILE_PATH))
end