| Class | RDoc::CodeObject |
| In: |
lib/rdoc/code_objects.rb
|
| Parent: | Object |
We contain the common stuff for contexts (which are containers) and other elements (methods, attributes and so on)
There‘s a wee trick we pull. Comment blocks can have directives that override the stuff we extract during the parse. So, we have a special class method, attr_overridable, that lets code objects list those directives. Wehn a comment is assigned, we then extract out any matching directives and update our object