lib/floe/workflow/states/succeed.rb
# frozen_string_literal: true
module Floe
class Workflow
module States
class Succeed < Floe::Workflow::State
attr_reader :input_path, :output_path
def finish
context.next_state = nil
context.output = context.input
super
end
def running?
false
end
def end?
true
end
end
end
end
end