Class: Nanoc::Int::Errors::CannotGetCompiledContentOfBinaryItem Private
- Defined in:
- lib/nanoc/base/errors.rb
Overview
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.
Error that is raised when the compiled content of a binary item is attempted to be accessed.
Instance Method Summary collapse
-
#initialize(rep) ⇒ CannotGetCompiledContentOfBinaryItem
constructor
private
A new instance of CannotGetCompiledContentOfBinaryItem.
Constructor Details
#initialize(rep) ⇒ CannotGetCompiledContentOfBinaryItem
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 CannotGetCompiledContentOfBinaryItem.
177 178 179 |
# File 'lib/nanoc/base/errors.rb', line 177 def initialize(rep) super("You cannot access the compiled content of a binary item representation (but you can access the path). The offending item rep is #{rep.inspect}.") end |