Exception: Nanoc::Core::ItemRepRouter::RouteWithoutSlashError Private
- Inherits:
-
Error
- Object
- StandardError
- Error
- Nanoc::Core::ItemRepRouter::RouteWithoutSlashError
- Defined in:
- lib/nanoc/core/item_rep_router.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(output_path, rep) ⇒ RouteWithoutSlashError
constructor
private
A new instance of RouteWithoutSlashError.
Constructor Details
#initialize(output_path, rep) ⇒ RouteWithoutSlashError
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 RouteWithoutSlashError.
20 21 22 23 24 |
# File 'lib/nanoc/core/item_rep_router.rb', line 20 def initialize(output_path, rep) super( "The item representation #{rep} is routed to #{output_path}, " \ 'which does not start with a slash, as required.') end |