Class: Nanoc::DataSources::Filesystem::ParseResult Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#attributesObject (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_dataObject (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

#contentObject (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