Class: Nanoc::Int::OutdatednessRules::ItemCollectionExtended
- Inherits:
-
Nanoc::Int::OutdatednessRule
- Object
- Nanoc::Int::OutdatednessRule
- Nanoc::Int::OutdatednessRules::ItemCollectionExtended
- Defined in:
- lib/nanoc/base/services/outdatedness_rules/item_collection_extended.rb
Instance Method Summary collapse
Instance Method Details
#apply(_obj, outdatedness_checker) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/nanoc/base/services/outdatedness_rules/item_collection_extended.rb', line 8 def apply(_obj, outdatedness_checker) new_items = outdatedness_checker.dependency_store.new_items if new_items.any? Nanoc::Int::OutdatednessReasons::ItemCollectionExtended.new(new_items) end end |