Class: RDocF95::Include

Inherits:
CodeObject show all
Defined in:
lib/rdoc-f95/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.



768
769
770
771
772
# File 'lib/rdoc-f95/code_objects.rb', line 768

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



766
767
768
# File 'lib/rdoc-f95/code_objects.rb', line 766

def name
  @name
end