# File lib/yard/cli/command.rb, line 64 def load_script(file) return if YARD::Config.options[:safe_mode] require(file.gsub(/\.rb$/, '')) rescue LoadError => load_exception log.error "The file `#{file}' could not be loaded:\n#{load_exception}" exit end