class DepthFirst::SequentialOrganizer

Base sequential organizer class

Constants

TASKS

Public Instance Methods

perform() click to toggle source
# File lib/depth_first/sequential_organizer.rb, line 6
def perform
  tasks.reduce(options) do |hsh, task|
    hsh.merge(task.new(hsh).perform)
  end
end

Private Instance Methods

tasks() click to toggle source
# File lib/depth_first/sequential_organizer.rb, line 14
def tasks
  self.class::TASKS
end