module Nanoc # @api private 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:, snapshot_repo:) @reps = reps @items = items @dependency_tracker = dependency_tracker @compilation_context = compilation_context @snapshot_repo = snapshot_repo end end end