Sha256: 1e1889cae6434c53864e33f22d808e81d1063fbf9d5026d83df85c020b58fafb
Contents?: true
Size: 410 Bytes
Versions: 23
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true module Nanoc::Int::Compiler::Stages class ForgetOutdatedDependencies 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
23 entries across 23 versions & 1 rubygems