Sha256: 14dc1b2026fbda6bfe082daea298231d7d9a4811f7dec8756cbe35e240d27d43
Contents?: true
Size: 435 Bytes
Versions: 14
Compression:
Stored size: 435 Bytes
Contents
module Nanoc::Int::Compiler::Stages class Prune def initialize(config:, reps:) @config = config @reps = reps end def run if @config[:prune][:auto_prune] Nanoc::Pruner.new(@config, @reps, exclude: prune_config_exclude).run end end private def prune_config @config[:prune] || {} end def prune_config_exclude prune_config[:exclude] || {} end end end
Version data entries
14 entries across 14 versions & 1 rubygems