Class: Nanoc::Int::OutdatednessRules::LayoutCollectionExtended
- Inherits:
-
Nanoc::Int::OutdatednessRule
- Object
- Nanoc::Int::OutdatednessRule
- Nanoc::Int::OutdatednessRules::LayoutCollectionExtended
- Defined in:
- lib/nanoc/base/services/outdatedness_rules/layout_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/layout_collection_extended.rb', line 8 def apply(_obj, outdatedness_checker) new_layouts = outdatedness_checker.dependency_store.new_layouts if new_layouts.any? Nanoc::Int::OutdatednessReasons::LayoutCollectionExtended.new(new_layouts) end end |