Sha256: b82e3fc78a20a541480ea5e3b4f58b9fbfba8ddd48944878312fc98a51df9d9e

Contents?: true

Size: 363 Bytes

Versions: 26

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Opera
  module Operation
    module Instructions
      module Executors
        class Success < Executor
          def call(instruction)
            instruction[:kind] = :step
            super
          end

          def break_condition
            operation.finished?
          end
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
opera-0.2.2 lib/opera/operation/instructions/executors/success.rb
opera-0.2.1 lib/opera/operation/instructions/executors/success.rb
opera-0.2.0 lib/opera/operation/instructions/executors/success.rb
opera-0.1.2 lib/opera/operation/instructions/executors/success.rb
opera-0.1.1 lib/opera/operation/instructions/executors/success.rb
opera-0.1.0 lib/opera/operation/instructions/executors/success.rb