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



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

def initialize(object) @object = object end

Instance Attribute Details

#objectCodeObjects::Base

The object the error occurred on

Returns:



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

def object
  @object
end