Exception: Nanoc::Core::Identifier::NonCoercibleObjectError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Nanoc::Core::Identifier::NonCoercibleObjectError
- Defined in:
- lib/nanoc/core/identifier.rb
Instance Method Summary collapse
-
#initialize(obj) ⇒ NonCoercibleObjectError
constructor
A new instance of NonCoercibleObjectError.
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 |