class Nanoc::Core::OutdatednessRules::ItemCollectionExtended

Public Instance Methods

apply(_obj, outdatedness_checker) click to toggle source
# File lib/nanoc/core/outdatedness_rules/item_collection_extended.rb, line 10
def apply(_obj, outdatedness_checker)
  new_items = outdatedness_checker.dependency_store.new_items

  if new_items.any?
    Nanoc::Core::OutdatednessReasons::ItemCollectionExtended.new(new_items)
  end
end