Class: Nanoc::DataSources::Filesystem::Errors::BinaryLayout 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(content_filename) ⇒ BinaryLayout
constructor
private
A new instance of BinaryLayout.
Constructor Details
#initialize(content_filename) ⇒ BinaryLayout
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 BinaryLayout.
10 11 12 |
# File 'lib/nanoc/data_sources/filesystem/errors.rb', line 10 def initialize(content_filename) super("The layout file '#{content_filename}' is a binary file, but layouts can only be textual") end |