class Rufus::Scheduler

def find_jobs (tag)


Returns an array of jobs that have the given tag.
def find_jobs (tag)
  @cron_jobs.values.find_all { |job| job.has_tag?(tag) } +
  @pending_jobs.find_all { |job| job.has_tag?(tag) }
end