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.3.3 lib/opera/operation/instructions/executors/success.rb
opera-0.3.2 lib/opera/operation/instructions/executors/success.rb
opera-0.3.1 lib/opera/operation/instructions/executors/success.rb
opera-0.3.0 lib/opera/operation/instructions/executors/success.rb
opera-0.2.18 lib/opera/operation/instructions/executors/success.rb
opera-0.2.17 lib/opera/operation/instructions/executors/success.rb
opera-0.2.16 lib/opera/operation/instructions/executors/success.rb
opera-0.2.15 lib/opera/operation/instructions/executors/success.rb
opera-0.2.14 lib/opera/operation/instructions/executors/success.rb
opera-0.2.13 lib/opera/operation/instructions/executors/success.rb
opera-0.2.12 lib/opera/operation/instructions/executors/success.rb
opera-0.2.11 lib/opera/operation/instructions/executors/success.rb
opera-0.2.10 lib/opera/operation/instructions/executors/success.rb
opera-0.2.9 lib/opera/operation/instructions/executors/success.rb
opera-0.2.8 lib/opera/operation/instructions/executors/success.rb
opera-0.2.7 lib/opera/operation/instructions/executors/success.rb
opera-0.2.6 lib/opera/operation/instructions/executors/success.rb
opera-0.2.5 lib/opera/operation/instructions/executors/success.rb
opera-0.2.4 lib/opera/operation/instructions/executors/success.rb
opera-0.2.3 lib/opera/operation/instructions/executors/success.rb