Sha256: a45d4831bf1eea0905fc50cae3f98bc91860366e8804c334d03ca63a83e6e295

Contents?: true

Size: 378 Bytes

Versions: 15

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module Nanoc::Int::Compiler::Stages
  class Postprocess
    include Nanoc::Int::ContractsSupport

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

    contract C::None => C::Any
    def run
      @action_provider.postprocess(@site, @reps)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
nanoc-4.8.9 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.8 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.7 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.6 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.5 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.4 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.3 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.2 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.1 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.8.0 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.7.14 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.7.13 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.7.12 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.7.11 lib/nanoc/base/services/compiler/stages/postprocess.rb
nanoc-4.7.10 lib/nanoc/base/services/compiler/stages/postprocess.rb