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.



34
35
36
37
38
# File 'lib/nanoc/core/identifier.rb', line 34

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