Class: RDocF95::RI::MethodEntry
- Inherits:
-
Object
- Object
- RDocF95::RI::MethodEntry
- Defined in:
- lib/rdoc-f95/ri/cache.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path_name ⇒ Object
readonly
Returns the value of attribute path_name.
Instance Method Summary collapse
- #full_name ⇒ Object
-
#initialize(path_name, name, is_class_method, in_class) ⇒ MethodEntry
constructor
A new instance of MethodEntry.
Constructor Details
#initialize(path_name, name, is_class_method, in_class) ⇒ MethodEntry
Returns a new instance of MethodEntry.
150 151 152 153 154 155 |
# File 'lib/rdoc-f95/ri/cache.rb', line 150 def initialize(path_name, name, is_class_method, in_class) @path_name = path_name @name = name @is_class_method = is_class_method @in_class = in_class end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
147 148 149 |
# File 'lib/rdoc-f95/ri/cache.rb', line 147 def name @name end |
#path_name ⇒ Object (readonly)
Returns the value of attribute path_name.
148 149 150 |
# File 'lib/rdoc-f95/ri/cache.rb', line 148 def path_name @path_name end |
Instance Method Details
#full_name ⇒ Object
157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/rdoc-f95/ri/cache.rb', line 157 def full_name res = @in_class.full_name unless res.empty? if @is_class_method res << "::" else res << "#" end end res << @name end |