Class: Nanoc::DataSources::Filesystem::ParseResult Private
- Inherits:
-
Object
- Object
- Nanoc::DataSources::Filesystem::ParseResult
- Defined in:
- lib/nanoc/data_sources/filesystem.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_data ⇒ Object readonly private
- #content ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(content:, attributes:, attributes_data:) ⇒ ParseResult
constructor
private
A new instance of ParseResult.
Constructor Details
#initialize(content:, attributes:, attributes_data:) ⇒ ParseResult
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 ParseResult.
375 376 377 378 379 |
# File 'lib/nanoc/data_sources/filesystem.rb', line 375 def initialize(content:, attributes:, attributes_data:) @content = content @attributes = attributes @attributes_data = attributes_data 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.
372 373 374 |
# File 'lib/nanoc/data_sources/filesystem.rb', line 372 def attributes @attributes end |
#attributes_data ⇒ 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.
373 374 375 |
# File 'lib/nanoc/data_sources/filesystem.rb', line 373 def attributes_data @attributes_data end |
#content ⇒ 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.
371 372 373 |
# File 'lib/nanoc/data_sources/filesystem.rb', line 371 def content @content end |