Class: Nanoc::Core::OutdatednessReasons::AttributesModified 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
- #attributes ⇒ Object readonly private
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(attributes) ⇒ AttributesModified
constructor
private
A new instance of AttributesModified.
Constructor Details
#initialize(attributes) ⇒ AttributesModified
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 AttributesModified.
85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/nanoc/core/outdatedness_reasons.rb', line 85 def initialize(attributes) super( 'The attributes of this item have been modified since the last ' \ 'time the site was compiled.', Nanoc::Core::DependencyProps.new( attributes: true, compiled_content: true, ), ) @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ 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.
83 84 85 |
# File 'lib/nanoc/core/outdatedness_reasons.rb', line 83 def attributes @attributes end |