View definition

def Axlsx::Workbook#add_worksheet

Defined in github.com/randym/axlsx/lib/axlsx/workbook/workbook.rb

Description

Adds a worksheet to this workbook

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • name (String)

    The name of the worksheet.

  • page_margins (Hash)

    The page margins for the worksheet.

Yields:

  • (worksheet)

add_worksheet is referenced in 0 repositories