class YARD::CLI::Command
def load_script(file)
- Since: - 0.6.2
Parameters:
-
file
(String
) -- the path to the script to load
def load_script(file) return if YARD::Config.options[:safe_mode] load(file) rescue LoadError => load_exception log.error "The file `#{file}' could not be loaded:\n#{load_exception}" exit 1 end