lib/nanoc/base/source_data/data_source.rb in nanoc-3.6.11 vs lib/nanoc/base/source_data/data_source.rb in nanoc-3.7.0

- old
+ new

@@ -56,10 +56,10 @@ # @param [Hash] config The configuration for this data source. def initialize(site, items_root, layouts_root, config) @site = site @items_root = items_root @layouts_root = layouts_root - @config = config + @config = config || {} @references = 0 end # Loads the data source when necessary (calling {#up}), yields, and