Sha256: 0aa6610b262103af3f909d5e2020ee92cb19046942869117247ba154dd50b17a

Contents?: true

Size: 371 Bytes

Versions: 9

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module Shipit
  module TaskExecutionStrategy
    class Base
      def initialize(task)
        self.task = task
      end

      def execute
        raise(
          NotImplmentedError,
          "subclasses of TaskExectuionStrategy::Base must implement the #execute method"
        )
      end

      attr_accessor :task
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.38.0 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.37.0 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.36.1 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.36.0 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.35.1 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.35.0 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.34.0 app/models/shipit/task_execution_strategy/base.rb
shipit-engine-0.33.0 app/models/shipit/task_execution_strategy/base.rb