lib/rubysermon.rb
271b1a48
 require_relative "rubysermon/version"
def91ab1
 require_relative "rubysermon/mod_loader"
 require_relative "rubysermon/mod_template"
c61af953
 require_relative "rubysermon/configurator"
271b1a48
 
 module Rubysermon
def91ab1
 	class App
 
c61af953
 		@config_path = "#{Dir.pwd}/config.json"
 		@config
 		@loader
 
def91ab1
 		def initialize
 
 		end
 
 		private
c61af953
 
 		def config
 			configurator = Configurator.new(@config_path)
 			@config = configurator.get_settings()
 		end
 
def91ab1
 		def load_mod(mod_name)
 			begin
 				@loader = ModLoader.load mod_name
 			rescue ModLoaderException => e
 				$stderr = e.message
 			end
 		end
 	end
271b1a48
 end