Class: Nanoc::Core::CompilationStages::StorePostCompilationState

Inherits:
Nanoc::Core::CompilationStage show all
Includes:
Nanoc::Core::ContractsSupport
Defined in:
lib/nanoc/core/compilation_stages/store_post_compilation_state.rb

Instance Method Summary collapse

Methods included from Nanoc::Core::ContractsSupport

enabled?, included, setup_once, warn_about_performance

Methods inherited from Nanoc::Core::CompilationStage

#call

Constructor Details

#initialize(dependency_store:) ⇒ StorePostCompilationState

Returns a new instance of StorePostCompilationState.



9
10
11
# File 'lib/nanoc/core/compilation_stages/store_post_compilation_state.rb', line 9

def initialize(dependency_store:)
  @dependency_store = dependency_store
end

Instance Method Details

#runObject



14
15
16
# File 'lib/nanoc/core/compilation_stages/store_post_compilation_state.rb', line 14

def run
  @dependency_store.store
end