class Autotest
def load_custom_extensions(config_file)
def load_custom_extensions(config_file) configs = ['./.autotest'] if config_file configs << File.expand_path(config_file) else configs << File.expand_path('~/.autotest') end configs.each do |f| load f if File.exist? f end end