require_relative "rubysermon/version" require_relative "rubysermon/mod_loader" require_relative "rubysermon/mod_template" require_relative "rubysermon/configurator" module Rubysermon LIB_PATH = File.expand_path(File.dirname(__FILE__)) APP_PATH = "#{LIB_PATH}/.." class App @config_path = "#{APP_PATH}/config.json" @config @loader def initialize end private def config configurator = Configurator.new(@config_path) @config = configurator.get_settings() end def load_mod(mod_name) begin @loader = ModLoader.load mod_name rescue ModLoaderException => e $stderr = e.message end end end end