class UberDoc::Task

Public Class Methods

known_tasks() click to toggle source
# File lib/uberdoc/task.rb, line 26
def self.known_tasks
    ObjectSpace.each_object(Class).select { |klass| klass < self }
end
new(options) click to toggle source
# File lib/uberdoc/task.rb, line 8
def initialize(options)
    @options = options
end
should_run?(options) click to toggle source

Indicates if this task needs to run based on the options

# File lib/uberdoc/task.rb, line 15
def self.should_run?(options)
    true
end

Public Instance Methods

perform() click to toggle source

Performs the task

# File lib/uberdoc/task.rb, line 22
def perform
    puts "Subclass Responsibility"
end