lib/nanoc/base/views/view_context.rb in nanoc-4.5.2 vs lib/nanoc/base/views/view_context.rb in nanoc-4.5.3

- old
+ new

@@ -3,14 +3,16 @@ class ViewContext attr_reader :reps attr_reader :items attr_reader :dependency_tracker attr_reader :compilation_context + attr_reader :snapshot_repo - def initialize(reps:, items:, dependency_tracker:, compilation_context:) + def initialize(reps:, items:, dependency_tracker:, compilation_context:, snapshot_repo:) @reps = reps @items = items @dependency_tracker = dependency_tracker @compilation_context = compilation_context + @snapshot_repo = snapshot_repo end end end