lib/nanoc/base/entities/site.rb in nanoc-4.1.6 vs lib/nanoc/base/entities/site.rb in nanoc-4.2.0b1
- old
+ new
@@ -1,7 +1,9 @@
module Nanoc::Int
# @api private
class Site
+ attr_accessor :compiler
+
# @param [Nanoc::Int::Configuration] config
# @param [Enumerable<Nanoc::Int::CodeSnippet>] code_snippets
# @param [Enumerable<Nanoc::Int::Item>] items
# @param [Enumerable<Nanoc::Int::Layout>] layouts
def initialize(config:, code_snippets:, items:, layouts:)