Sha256: 61a2edd3647e0b87b90e1edb8bb04f611e841c155aaeb621f9c7c2070dbe3224

Contents?: true

Size: 528 Bytes

Versions: 9

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

module Nanoc
  module Int
    class Compiler
      module Stages
        class Postprocess < Nanoc::Int::Compiler::Stage
          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

9 entries across 9 versions & 1 rubygems

Version Path
nanoc-4.11.9 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.8 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.7 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.6 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.5 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.4 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.3 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.2 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.11.1 lib/nanoc/base/services/compiler/stages/postprocess.rb