@@ -9,12 +9,10 @@ module Rubysermon
class App
- @config_path = "#{APP_PATH}/config.json"
- @config
- @loader
-
def initialize
+ @config = ""
+ @loader = nil
+ @config_path = "#{APP_PATH}/config.json"
end
private
@@ -3,8 +3,6 @@ require 'json'
module Rubysermon
class Configurator
- @parsed_settings
def initialize(config_path)
raw_json = File.read(config_path)
@parsed_settings = JSON.parse(raw_json, symbolize_names: true)