Class: Nanoc::DataSources::Filesystem::Errors::UnparseableMetadata Private
- Inherits:
-
Generic
- Object
- Generic
- Nanoc::DataSources::Filesystem::Errors::UnparseableMetadata
- Defined in:
- lib/nanoc/data_sources/filesystem/errors.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 Method Summary collapse
-
#initialize(filename, error) ⇒ UnparseableMetadata
constructor
private
A new instance of UnparseableMetadata.
Constructor Details
#initialize(filename, error) ⇒ UnparseableMetadata
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 UnparseableMetadata.
34 35 36 |
# File 'lib/nanoc/data_sources/filesystem/errors.rb', line 34 def initialize(filename, error) super("Could not parse metadata for #{filename}: #{error.}") end |