Method: RDoc::Context#set_current_section

Defined in:
lib/rdoc/code_object/context.rb

#set_current_section(title, comment) ⇒ Object

Sets the current section to a section with title. See also #add_section



1184
1185
1186
# File 'lib/rdoc/code_object/context.rb', line 1184

def set_current_section title, comment
  @current_section = add_section title, comment
end