Class: Nanoc::Core::OutdatednessRules::CodeSnippetsModified
- Inherits:
-
Nanoc::Core::OutdatednessRule
- Object
- Nanoc::Core::OutdatednessRule
- Nanoc::Core::OutdatednessRules::CodeSnippetsModified
- Includes:
- MemoWise
- Defined in:
- lib/nanoc/core/outdatedness_rules/code_snippets_modified.rb
Instance Method Summary collapse
Methods inherited from Nanoc::Core::OutdatednessRule
affected_props, affects_props, #call, #inspect
Methods included from ContractsSupport
enabled?, included, setup_once, warn_about_performance
Instance Method Details
#apply(_obj, outdatedness_checker) ⇒ Object
13 14 15 16 17 |
# File 'lib/nanoc/core/outdatedness_rules/code_snippets_modified.rb', line 13 def apply(_obj, outdatedness_checker) if any_snippets_modified?(outdatedness_checker) Nanoc::Core::OutdatednessReasons::CodeSnippetsModified end end |