method

add_section

v2_5_5 - Show latest stable - Class: RDoc::Context
add_section(title, comment = nil)
public

Returns a section with title, creating it if it doesn’t already exist. comment will be appended to the section’s comment.

A section with a title of nil will return the default section.

See also RDoc::Context::Section