extract_comment

extract_comment(comment)
Instance Public methods

Extracts 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

# :section: The title
# The body
doc_ruby_on_rails
2015-05-01 15:13:57
Comments
Leave a Comment

Please login to continue.