Class: Nanoc::DataSources::Filesystem::Parser::ParseResult Private
- Inherits:
-
Object
- Object
- Nanoc::DataSources::Filesystem::Parser::ParseResult
- Defined in:
- lib/nanoc/data_sources/filesystem/parser.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.
13 14 15 16 17 |
# File 'lib/nanoc/data_sources/filesystem/parser.rb', line 13 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.
10 11 12 |
# File 'lib/nanoc/data_sources/filesystem/parser.rb', line 10 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.
11 12 13 |
# File 'lib/nanoc/data_sources/filesystem/parser.rb', line 11 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.
9 10 11 |
# File 'lib/nanoc/data_sources/filesystem/parser.rb', line 9 def content @content end |