module Recluse::Tasks

Tasks are tests for Recluse.

Public Class Methods

add_task(key, task_class) click to toggle source

Add task to the list.

# File lib/recluse/tasks/list.rb, line 19
def add_task(key, task_class)
  list[key] = task_class
end
each(&block) click to toggle source

Do something for each task.

# File lib/recluse/tasks/list.rb, line 37
def each(&block)
  @@list.each(&block)
end
get(key) click to toggle source

Get task by key name.

# File lib/recluse/tasks/list.rb, line 31
def get(key)
  @@list[key]
end
list() click to toggle source

Hash of available tasks.

# File lib/recluse/tasks/list.rb, line 25
def list
  @@list
end