Exception: Nanoc::RuleDSL::RecordingExecutor::PathWithoutInitialSlashError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Nanoc::RuleDSL::RecordingExecutor::PathWithoutInitialSlashError
- Defined in:
- lib/nanoc/rule_dsl/recording_executor.rb
Instance Method Summary (collapse)
-
- (PathWithoutInitialSlashError) initialize(rep, basic_path)
constructor
A new instance of PathWithoutInitialSlashError.
Constructor Details
- (PathWithoutInitialSlashError) initialize(rep, basic_path)
Returns a new instance of PathWithoutInitialSlashError
5 6 7 |
# File 'lib/nanoc/rule_dsl/recording_executor.rb', line 5 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 |