Class: Nanoc::Core::OutdatednessReasons::DocumentAdded Private
- Defined in:
- lib/nanoc/core/outdatedness_reasons.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #identifiers ⇒ Object readonly private
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(identifiers:) ⇒ DocumentAdded
constructor
private
A new instance of DocumentAdded.
Constructor Details
#initialize(identifiers:) ⇒ DocumentAdded
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DocumentAdded.
62 63 64 65 66 67 68 69 70 71 |
# File 'lib/nanoc/core/outdatedness_reasons.rb', line 62 def initialize(identifiers:) super( 'Items or layouts were newly added to the site.', Nanoc::Core::DependencyProps.new( raw_content: true, compiled_content: true, ), ) @identifiers = identifiers end |
Instance Attribute Details
#identifiers ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
60 61 62 |
# File 'lib/nanoc/core/outdatedness_reasons.rb', line 60 def identifiers @identifiers end |