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

Method deprecated or moved

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

These similar methods exist in v1_9_3_392:

handle_constants(type, var_name, const_name, definition) private

Adds constant comments. By providing some_value: at the start ofthe comment you can override the C value of the comment to give a friendly definition.

/* 300: The perfect score in bowling */
rb_define_const(cFoo, "PERFECT", INT2FIX(300);

Will override +INT2FIX(300)+ with the value 300 in the output RDoc. Values may include quotes and escaped colons (:).

Show source
Register or log in to add new notes.