Exception: Nanoc::Core::Identifier::NonCoercibleObjectError

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

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ NonCoercibleObjectError

Returns a new instance of NonCoercibleObjectError.



40
41
42
# File 'lib/nanoc/core/identifier.rb', line 40

def initialize(obj)
  super("#{obj.inspect} cannot be converted into a Nanoc::Core::Identifier")
end