Class: RDoc::Include

Inherits:
CodeObject show all
Defined in:
lib/rdoc/code_objects.rb

Overview

an included module

Instance Attribute Summary collapse

Attributes inherited from CodeObject

#comment, #document_children, #document_self, #done_documenting, #force_documentation, #parent, #section, #viewer

Instance Method Summary collapse

Methods inherited from CodeObject

attr_overridable, #remove_classes_and_modules, #remove_methods_etc, #start_doc, #stop_doc

Constructor Details

#initialize(name, comment) ⇒ Include

Returns a new instance of Include.



757
758
759
760
761
# File 'lib/rdoc/code_objects.rb', line 757

def initialize(name, comment)
  super()
  @name = name
  self.comment = comment
end

Instance Attribute Details

#nameObject

Returns the value of attribute name



755
756
757
# File 'lib/rdoc/code_objects.rb', line 755

def name
  @name
end