View definition

def Axlsx::Package#initialize

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

Description

Initializes your package

Examples:

Package.new :author => 'you!', :workbook => Workbook.new

Parameters:

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

    A hash that you can use to specify the author and workbook for this package.

Options Hash (options):

  • :author (String)

    The author of the document

  • :created_at (Time)

    Timestamp in the document properties (defaults to current time).

  • :use_shared_strings (Boolean)

    This is passed to the workbook to specify that shared strings should be used when serializing the package.

Yields:

  • (_self)

Yield Parameters:

  • _self (Axlsx::Package)

    the object that the method was called on

initialize is referenced in 0 repositories