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