lib/nanoc/base/views/view_context.rb in nanoc-4.4.4 vs lib/nanoc/base/views/view_context.rb in nanoc-4.4.5
- old
+ new
@@ -2,15 +2,15 @@
# @api private
class ViewContext
attr_reader :reps
attr_reader :items
attr_reader :dependency_tracker
- attr_reader :compiler
+ attr_reader :compilation_context
- def initialize(reps:, items:, dependency_tracker:, compiler:)
+ def initialize(reps:, items:, dependency_tracker:, compilation_context:)
@reps = reps
@items = items
@dependency_tracker = dependency_tracker
- @compiler = compiler
+ @compilation_context = compilation_context
end
end
end