class RDoc::NormalModule
A normal module, like NormalClass
Public Instance Methods
Source
# File lib/rdoc/code_object/normal_module.rb, line 21 def definition "module #{full_name}" end
The definition of this module, module MyModuleName
Source
# File lib/rdoc/code_object/normal_module.rb, line 28 def module? true end
This is a module, returns true
Source
# File lib/rdoc/code_object/normal_module.rb, line 69 def superclass raise NoMethodError, "#{full_name} is a module" end
Modules don’t have one, raises NoMethodError