method

attr_overridable

Importance_1
v1_9_1_378 - Show latest stable - 0 notes - Class: RDoc::CodeObject
attr_overridable(name, *aliases) public

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

Show source
Register or log in to add new notes.