Class: Inch::Language::Nodejs::Provider::JSDoc::Object::ModuleObject

Inherits:
Base
  • Object
show all
Defined in:
lib/inch/language/nodejs/provider/jsdoc/object/module_object.rb

Overview

Proxy class for modules

Instance Attribute Summary

Attributes inherited from Base

#base_dir, #children_fullnames

Instance Method Summary collapse

Methods inherited from Base

#aliased_object_fullname, #aliases_fullnames, #api_tag?, #attributes, #bang_name?, #constant?, #constructor?, #depth, #docstring, #filename, #files, #getter?, #has_children?, #has_code_example?, #has_doc?, #has_multiple_code_examples?, #has_unconsidered_tags?, #in_root?, #initialize, #method?, #name, #nodoc?, #original_docstring, #overridden?, #overridden_method_fullname, #parameters, #parent_fullname, #private?, #protected?, #public?, #questioning_name?, #return_described?, #return_mentioned?, #return_typed?, #setter?, #source, #tagged_as_internal_api?, #tagged_as_private?, #unconsidered_tag_count, #undocumented?, #visibility

Constructor Details

This class inherits a constructor from Inch::Language::Nodejs::Provider::JSDoc::Object::Base

Instance Method Details

#fullnameObject



9
10
11
# File 'lib/inch/language/nodejs/provider/jsdoc/object/module_object.rb', line 9

def fullname
  @hash['id']
end

#namespace?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/inch/language/nodejs/provider/jsdoc/object/module_object.rb', line 13

def namespace?
  true
end