Sha256: 61fe48916da1394e018f249cd7f39f0249bfb1f65c599ec4d58d96b37a499e05
Contents?: true
Size: 555 Bytes
Versions: 9
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true module Nanoc module Int class Compiler module Stages class ForgetOutdatedDependencies < Nanoc::Int::Compiler::Stage include Nanoc::Core::ContractsSupport def initialize(dependency_store:) @dependency_store = dependency_store end contract C::IterOf[Nanoc::Core::Item] => C::Any def run(outdated_items) outdated_items.each { |i| @dependency_store.forget_dependencies_for(i) } end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems