Sha256: b95f404505e4e8a3c45423e5434fd5531c15b5caefbea8c0717cdb18a645e840
Contents?: true
Size: 772 Bytes
Versions: 5
Compression:
Stored size: 772 Bytes
Contents
module Munge # This class is useful for loading the application. class Bootloader # @param root_path [String] Absolute path to munge directory def initialize(root_path:) @root_path = root_path @setup_path = File.join(root_path, "setup.rb") @rules_path = File.join(root_path, "rules.rb") config_path = File.join(root_path, "config.rb") @config = Munge::PreInit.new(config_path).config end # @return [Munge::Init] 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 :setup_path attr_reader :rules_path attr_reader :config end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
munge-0.18.0 | lib/munge/bootloader.rb |
munge-0.17.0 | lib/munge/bootloader.rb |
munge-0.16.0 | lib/munge/bootloader.rb |
munge-0.15.1 | lib/munge/bootloader.rb |
munge-0.15.0 | lib/munge/bootloader.rb |