Exception: Nanoc::Core::ItemRepRouter::IdenticalRoutesError Private

Inherits:
Error
  • Object
show all
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

Constructor Details

#initialize(output_path, rep_a, rep_b) ⇒ IdenticalRoutesError

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 IdenticalRoutesError.



12
13
14
# File 'lib/nanoc/core/item_rep_router.rb', line 12

def initialize(output_path, rep_a, rep_b)
  super("The item representations #{rep_a} and #{rep_b} are both routed to #{output_path}.")
end