lib/nanoc/rule_dsl/rule_context.rb in nanoc-4.1.6 vs lib/nanoc/rule_dsl/rule_context.rb in nanoc-4.2.0b1
- old
+ new
@@ -17,10 +17,9 @@
rep: Nanoc::ItemRepView.new(rep, view_context),
item_rep: Nanoc::ItemRepView.new(rep, view_context),
items: Nanoc::ItemCollectionWithoutRepsView.new(site.items, view_context),
layouts: Nanoc::LayoutCollectionView.new(site.layouts, view_context),
config: Nanoc::ConfigView.new(site.config, view_context),
- site: Nanoc::SiteView.new(site, view_context),
})
end
# Filters the current representation (calls {Nanoc::Int::ItemRep#filter} with
# the given arguments on the rep).