Class: Nanoc::Core::OutdatednessReasons::DocumentCollectionExtended Private
- Inherits:
-
Generic
- Object
- Generic
- Nanoc::Core::OutdatednessReasons::DocumentCollectionExtended
- 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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #objects ⇒ Object readonly private
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(objects) ⇒ DocumentCollectionExtended
constructor
private
A new instance of DocumentCollectionExtended.
Constructor Details
#initialize(objects) ⇒ DocumentCollectionExtended
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 DocumentCollectionExtended.
53 54 55 56 57 58 59 60 |
# File 'lib/nanoc/core/outdatedness_reasons.rb', line 53 def initialize(objects) super( 'New items/layouts have been added to the site.', Nanoc::Core::DependencyProps.new(raw_content: true), ) @objects = objects end |
Instance Attribute Details
#objects ⇒ 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.
51 52 53 |
# File 'lib/nanoc/core/outdatedness_reasons.rb', line 51 def objects @objects end |