Flowdock
method

set_comment

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: RDoc::Context::Section
set_comment(comment) public

Set the comment for this section from the original comment block If the first line contains :section:, strip it and use the rest. Otherwise remove lines up to the line containing :section:, and look for those lines again at the end and remove them. This lets us write

# blah blah blah
#
# :SECTION: The title
# The body
Show source
Register or log in to add new notes.