require 'json' module Rubysermon class Configurator def initialize(config_path) raw_json = File.read(config_path) @parsed_settings = JSON.parse(raw_json, symbolize_names: true) end def get_settings @parsed_settings end end end