Class: Nanoc::DataSources::Filesystem::Errors::InvalidEncoding Private
- 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, encoding) ⇒ InvalidEncoding
constructor
private
A new instance of InvalidEncoding.
Constructor Details
#initialize(filename, encoding) ⇒ InvalidEncoding
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 InvalidEncoding.
46 47 48 |
# File 'lib/nanoc/data_sources/filesystem/errors.rb', line 46 def initialize(filename, encoding) super("Could not read #{filename} because the file is not valid #{encoding}.") end |