Class: RDocF95::Require
- Inherits:
-
CodeObject
- Object
- CodeObject
- RDocF95::Require
- Defined in:
- lib/rdoc-f95/code_objects.rb
Overview
a required file
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from CodeObject
#comment, #document_children, #document_self, #done_documenting, #force_documentation, #parent, #section, #viewer
Instance Method Summary collapse
-
#initialize(name, comment) ⇒ Require
constructor
A new instance of Require.
Methods inherited from CodeObject
attr_overridable, #remove_classes_and_modules, #remove_methods_etc, #start_doc, #stop_doc
Constructor Details
#initialize(name, comment) ⇒ Require
Returns a new instance of Require.
756 757 758 759 760 |
# File 'lib/rdoc-f95/code_objects.rb', line 756 def initialize(name, comment) super() @name = name.gsub(/'|"/, "") #' self.comment = comment end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
754 755 756 |
# File 'lib/rdoc-f95/code_objects.rb', line 754 def name @name end |