JezK
Edit File: section-i.ri
U:RDoc::AnyMethod[iI"section:EFI"Prawn::Outline#section;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"SSee outline#define above for documentation on how this is used in that context;To:RDoc::Markup::BlankLine o; ; [I"1Adds an outine section to the outline tree. ;TI"LAlthough you will probably choose to exclusively use outline#define so ;TI"Ithat your outline tree is contained and easy to manage, this method ;TI"Kgives you the option to add sections to the outline tree at any point ;TI"Zduring document generation. When not being called from within another #section block ;TI"^the section will be added at the top level after the other root elements of the outline. ;TI"OFor more flexible placement try using outline#insert_section_after and/or ;TI"outline#add_subsection_to ;TI"#Takes the following arguments:;To:RDoc::Markup::Verbatim; [ I";title: the outline text that appears for the section. ;TI"]options: destination - optional integer defining the page number for a destination link ;TI"O to the top of the page (using a :FIT destination). ;TI"[ - or an array with a custom destination (see the #dest_* methods of the ;TI". PDF::Destination module) ;TI"T closed - whether the section should show its nested outline elements. ;TI"* - defaults to false. ;TI"@ block: more nested subsections and/or page blocks ;T:@format0o; ; [I"example usage:;T@o;; [I";outline.section 'Added Section', :destination => 3 do ;TI"; outline.page :destionation => 3, :title => 'Page 3' ;TI"end;T; 0: @fileI"lib/prawn/outline.rb;T:0@omit_headings_from_table_of_contents_below000[ I""(title, options = {}, &block);T@,FI"Outline;FcRDoc::NormalClass00