Exception: Nanoc::Identifier::NonCoercibleObjectError Private
- 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
-
#initialize(obj) ⇒ NonCoercibleObjectError
constructor
private
A new instance of NonCoercibleObjectError.
Constructor Details
#initialize(obj) ⇒ NonCoercibleObjectError
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 NonCoercibleObjectError.
36 37 38 |
# File 'lib/nanoc/base/entities/identifier.rb', line 36 def initialize(obj) super("#{obj.inspect} cannot be converted into a Nanoc::Identifier") end |