Class: Nanoc::DataSources::Filesystem::Errors::FileUnreadable 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, error) ⇒ FileUnreadable
constructor
private
A new instance of FileUnreadable.
Constructor Details
#initialize(filename, error) ⇒ FileUnreadable
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 FileUnreadable.
52 53 54 |
# File 'lib/nanoc/data_sources/filesystem/errors.rb', line 52 def initialize(filename, error) super("Could not read #{filename}: #{error.inspect}") end |