Class: Nanoc::RuleDSL::ActionSequenceCalculator::PathWithoutInitialSlashError Private
- Inherits:
-
Error
- Object
- Nanoc::RuleDSL::ActionSequenceCalculator::PathWithoutInitialSlashError
- Defined in:
- lib/nanoc/rule_dsl/action_sequence_calculator.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(rep, basic_path) ⇒ PathWithoutInitialSlashError
constructor
private
A new instance of PathWithoutInitialSlashError.
Constructor Details
#initialize(rep, basic_path) ⇒ PathWithoutInitialSlashError
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 PathWithoutInitialSlashError.
24 25 26 |
# File 'lib/nanoc/rule_dsl/action_sequence_calculator.rb', line 24 def initialize(rep, basic_path) super("The path returned for the #{rep.inspect} item representation, “#{basic_path}”, does not start with a slash. Please ensure that all routing rules return a path that starts with a slash.") end |