Class RDoc::Context::Section
In: lib/rdoc/code_objects.rb
Parent: Object

Contents

Methods

new  

Attributes

comment  [R] 
sequence  [R] 
title  [R] 

Public Class methods

The title

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
  # ---------------------

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.