lib/mill/navigator.rb in mill-0.4 vs lib/mill/navigator.rb in mill-0.5

- old
+ new

@@ -12,16 +12,17 @@ @title = title end end - def initialize(items: []) + def initialize(items: [], site: nil) @items = Hash[ items.map do |uri, title| item = Item.new(uri: uri, title: title) [item.uri, item] end ] + @site = site end def items @items.values end \ No newline at end of file