Module: Seam

Defined in:
lib/seam.rb,
lib/seam/flow.rb,
lib/seam/step.rb,
lib/seam/effort.rb,
lib/seam/worker.rb,
lib/seam/version.rb,
lib/seam/in_memory.rb,
lib/seam/persistence.rb,
lib/seam/wait_worker.rb

Defined Under Namespace

Modules: InMemory, Persistence Classes: Effort, Flow, Step, WaitWorker, Worker

Constant Summary collapse

VERSION =
"1.1.3"

Class Method Summary collapse

Class Method Details

.steps_to_runObject



10
11
12
13
14
# File 'lib/seam.rb', line 10

def self.steps_to_run
  Seam::Persistence.find_something_to_do
                     .group_by { |x| x.next_step }
                     .map      { |x| x[0] }
end