Method: Docxi::Word::Contents::TableOfContent#initialize
- Defined in:
- lib/docxi/word/contents/table_of_content.rb
#initialize(options = {}) ⇒ TableOfContent
Returns a new instance of TableOfContent.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/docxi/word/contents/table_of_content.rb', line 8 def initialize(={}) @options = @rows = [] if block_given? yield self else end end |