lib/nanoc/base/compilation/compiler.rb
# Returns a preprocessor context, creating one if none exists yet.
Returns a preprocessor context, creating one if none exists yet.
Returns a preprocessor context creating one if none exists yet .
def preprocessor_context
      Nanoc::Context.new({
        :site    => @site,
        :config  => @site.config,
        :items   => @site.items,
        :layouts => @site.layouts
      })
    end
def preprocessor_context Nanoc :: Context . new ( { :site => @site , :config => @site . config , :items => @site . items , :layouts => @site . layouts } ) end
Returns a preprocessor context, creating one if none exists yet.
Returns a preprocessor context creating one if none exists yet .