Exception: YARD::Handlers::NamespaceMissingError

Inherits:
Parser::UndocumentableError show all
Defined in:
lib/yard/handlers/base.rb

Overview

Raised during processing phase when a handler needs to perform an operation on an object’s namespace but the namespace could not be resolved.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ NamespaceMissingError

Returns a new instance of NamespaceMissingError.



18
# File 'lib/yard/handlers/base.rb', line 18

def initialize(object) @object = object end

Instance Attribute Details

#objectCodeObjects::Base

The object the error occurred on

Returns:



16
17
18
# File 'lib/yard/handlers/base.rb', line 16

def object
  @object
end