Class: Nanoc::DataSources::Filesystem::Errors::MultipleContentFiles Private
- Inherits:
-
Generic
- Object
- Generic
- Nanoc::DataSources::Filesystem::Errors::MultipleContentFiles
- 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(content_filenames, basename) ⇒ MultipleContentFiles
constructor
private
A new instance of MultipleContentFiles.
Constructor Details
#initialize(content_filenames, basename) ⇒ MultipleContentFiles
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 MultipleContentFiles.
22 23 24 |
# File 'lib/nanoc/data_sources/filesystem/errors.rb', line 22 def initialize(content_filenames, basename) super("Found #{content_filenames.size} content files for #{basename}; expected 0 or 1") end |