Sha256: c1d8397c6c0e735ffc7fcc46c2e416217b306168aa00237f0186b0eb97b563ef
Contents?: true
Size: 628 Bytes
Versions: 8
Compression:
Stored size: 628 Bytes
Contents
# frozen_string_literal: true module Nanoc module Int module OutdatednessRules class LayoutCollectionExtended < Nanoc::Int::OutdatednessRule affects_props :raw_content contract Nanoc::Core::LayoutCollection, C::Named['Nanoc::Int::OutdatednessChecker'] => C::Maybe[Nanoc::Int::OutdatednessReasons::Generic] 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 end end end end
Version data entries
8 entries across 8 versions & 1 rubygems