Class: Nanoc::DataSources::Filesystem::Errors::MultipleMetaFiles Private

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

Constructor Details

#initialize(meta_filenames, basename) ⇒ MultipleMetaFiles

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



16
17
18
# File 'lib/nanoc/data_sources/filesystem/errors.rb', line 16

def initialize(meta_filenames, basename)
  super("Found #{meta_filenames.size} meta files for #{basename}; expected 0 or 1")
end