method

add_constant

v1_9_3_392 - Show latest stable - Class: RDoc::Context
add_constant(constant)
public

Adds constant if not already there. If it is, updates the comment, value and/or is_alias_for of the known constant if they were empty/nil.