Method: Docxer::Word::Helpers#table

Defined in:
lib/docxer/word/helpers.rb

#table(options = {}, &block) ⇒ Object



29
30
31
32
33
# File 'lib/docxer/word/helpers.rb', line 29

def table(options={}, &block)
  table = Docxer::Word::Contents::Table.new(options, &block)
  @content << table
  table
end