method

add

v2_4_6 - Show latest stable - Class: RDoc::Context
add(klass, name, comment)
public

Adds an item of type klass with the given name and comment to the context.

Currently only RDoc::Extend and RDoc::Include are supported.