class UberDoc::DoctorTask

Public Class Methods

should_run?(options) click to toggle source
# File lib/uberdoc/tasks/doctor_task.rb, line 8
def self.should_run?(options)
    options.doctor
end

Public Instance Methods

check_doxygen() click to toggle source
# File lib/uberdoc/tasks/doctor_task.rb, line 12
def check_doxygen
    
    out = UberDoc::Util::execute_command("which doxygen", @options.verbose)

    if not out.match("doxygen")
        puts "doxygen - Could not find doxygen on your system. Install it using your package manager or from doxygen.org"
    end
end
perform() click to toggle source
# File lib/uberdoc/tasks/doctor_task.rb, line 21
def perform
    
    check_doxygen

    # Add mode here

    puts "All checks performed"
    
end