View definition

def Axlsx::Package#initialize

Defined in


Initializes your package

Examples: :author => 'you!', :workbook =>


  • 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.


  • (_self)

Yield Parameters:

  • _self (Axlsx::Package)

    the object that the method was called on

initialize is referenced in 0 repositories