Exception: Nanoc::Identifier::InvalidTypeError Private

Inherits:
Error
  • Object
show all
Defined in:
lib/nanoc/base/entities/identifier.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(type) ⇒ InvalidTypeError

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



15
16
17
# File 'lib/nanoc/base/entities/identifier.rb', line 15

def initialize(type)
  super("Invalid type for identifier: #{type.inspect} (can be :full or :legacy)")
end