Sha256: c065e91ab00e42ed89a48c93544179c21da38cb827071a83d7a10a42e41849b6
Contents?: true
Size: 631 Bytes
Versions: 4
Compression:
Stored size: 631 Bytes
Contents
# frozen_string_literal: true module Nanoc module Int module OutdatednessRules class LayoutCollectionExtended < Nanoc::Core::OutdatednessRule affects_props :raw_content contract Nanoc::Core::LayoutCollection, C::Named['Nanoc::Int::OutdatednessChecker'] => C::Maybe[Nanoc::Core::OutdatednessReasons::Generic] def apply(_obj, outdatedness_checker) new_layouts = outdatedness_checker.dependency_store.new_layouts if new_layouts.any? Nanoc::Core::OutdatednessReasons::LayoutCollectionExtended.new(new_layouts) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems