class Rufus::Scheduler

def at_job_count


Returns the current count of 'at' jobs scheduled (not 'every').
def at_job_count
    @pending_jobs.select { |j| j.instance_of?(AtJob) }.size
end