Method: Mutx::Support::Configuration.get
- Defined in:
- lib/mutx/support/configuration.rb
.get ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/mutx/support/configuration.rb', line 8 def self.get Mutx::Support::Log.start Mutx::Support::Log.debug "Creating configuration object" if Mutx::Support::Log if self.config_file_exists? @@input = Mutx::Support::Update.mutx_conf elsif !Dir.pwd.to_s.include? "garba-automation"#not show put if you are in other dir else @@input = self.default_input puts "Error loading mutx configuration file. Using default values".colorize(:red) end end |