module ConfigCurator::Utils
Utility class.
Private Instance Methods
command?(command)
click to toggle source
Checks if command exists. @param command [String] command name to check @return [String, nil] full path to command or nil if not found
# File lib/config_curator/utils.rb, line 9 def command?(command) MakeMakefile::Logging.instance_variable_set :@logfile, File::NULL MakeMakefile::Logging.quiet = true MakeMakefile.find_executable command.to_s end