Class: Nanoc::DataSources::Filesystem::AmbiguousMetadataAssociationError Private

Inherits:
Core::Error
  • 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 Method Summary collapse

Constructor Details

#initialize(content_filenames, meta_filename) ⇒ AmbiguousMetadataAssociationError

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 AmbiguousMetadataAssociationError.



52
53
54
# File 'lib/nanoc/data_sources/filesystem.rb', line 52

def initialize(content_filenames, meta_filename)
  super("There are multiple content files (#{content_filenames.sort.join(', ')}) that could match the file containing metadata (#{meta_filename}).")
end