Sha256: 509e8a6933e691817d05fc6556353628b2a824c690a95392bb86a693db0f6784

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

# frozen_string_literal: true

module Nanoc
  module Int
    class Compiler
      module Stages
        class Postprocess < Nanoc::Core::CompilationStage
          include Nanoc::Core::ContractsSupport

          def initialize(action_provider:, site:)
            @action_provider = action_provider
            @site = site
          end

          contract Nanoc::Int::Compiler => C::Any
          def run(compiler)
            @action_provider.postprocess(@site, compiler)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nanoc-4.11.12 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.11 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.10 lib/nanoc/base/services/compiler/stages/postprocess.rb