Exception: Nanoc::Core::Identifier::InvalidPrefixError

Inherits:
Error
  • Object
show all
Defined in:
lib/nanoc/core/identifier.rb

Instance Method Summary collapse

Constructor Details

#initialize(string) ⇒ InvalidPrefixError

Returns a new instance of InvalidPrefixError.



28
29
30
# File 'lib/nanoc/core/identifier.rb', line 28

def initialize(string)
  super("Invalid prefix (does not start with a slash): #{string.inspect}")
end