Sha256: 5dba6577e5844101f28ddaf47e56ea776feac1a25806d7c21901d9e567ba95e3
Contents?: true
Size: 668 Bytes
Versions: 6
Compression:
Stored size: 668 Bytes
Contents
module Munge class Bootloader def initialize(root_path:) @root_path = root_path @config_path = File.join(root_path, "config.yml") @setup_path = File.join(root_path, "setup.rb") @rules_path = File.join(root_path, "rules.rb") @config = Munge::Util::Config.read(@config_path) end def init @init ||= Init.new( root_path: @root_path, config: @config, setup_path: @setup_path, rules_path: @rules_path ) end attr_reader :root_path attr_reader :config_path attr_reader :setup_path attr_reader :rules_path attr_reader :config end end
Version data entries
6 entries across 6 versions & 1 rubygems