Exception: Nanoc::RuleDSL::RecordingExecutor::PathWithoutInitialSlashError

Inherits:
Error
  • Object
show all
Defined in:
lib/nanoc/rule_dsl/recording_executor.rb

Instance Method Summary collapse

Constructor Details

#initialize(rep, basic_path) ⇒ PathWithoutInitialSlashError

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