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.



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

def initialize(object) @object = object end

Instance Attribute Details

#objectCodeObjects::Base

The object the error occurred on

Returns:



9
10
11
# File 'lib/yard/handlers/base.rb', line 9

def object
  @object
end