Flowdock
method

attr_overridable

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: RDoc::CodeObject

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

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.