Class: Facter::ConfigFileOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/facter/framework/core/options/config_file_options.rb

Class Method Summary collapse

Class Method Details

.getObject



15
16
17
# File 'lib/facter/framework/core/options/config_file_options.rb', line 15

def get
  @options || {}
end

.init(config_path = nil) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/facter/framework/core/options/config_file_options.rb', line 6

def init(config_path = nil)
  @options = {}
  Facter::ConfigReader.init(config_path)

  augment_config_path(config_path)

  augment_all
end