Sha256: 207466c72c61069a5a3c9274cf4126094a41264a6be8794e546d55ee75374fde

Contents?: true

Size: 336 Bytes

Versions: 6

Compression:

Stored size: 336 Bytes

Contents

require 'logical-construct/resolving-task'

module LogicalConstruct
  module Testing
    class ResolvingTask < ::LogicalConstruct::ResolvingTask
      setting :resolutions, {}

      def action
        unsatisfied_prerequisites.each do |task|
          task.fulfill(resolutions.fetch(task.name))
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
logical-construct-0.0.5 lib/logical-construct/testing/resolving-task.rb
logical-construct-0.0.4 lib/logical-construct/testing/resolving-task.rb
logical-construct-0.0.3 lib/logical-construct/testing/resolving-task.rb
logical-construct-0.0.2 lib/logical-construct/testing/resolving-task.rb
logical-construct-0.0.1 lib/logical-construct/testing/resolving-task.rb
logical-construct-0.0.1.localtesting lib/logical-construct/testing/resolving-task.rb