Method: Axlsx::Core#initialize

Defined in:
lib/axlsx/doc_props/core.rb

#initialize(options = {}) ⇒ Core

Creates a new Core object.

Parameters:

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

    a customizable set of options

Options Hash (options):

  • creator (String)
  • created (Time)


12
13
14
15
# File 'lib/axlsx/doc_props/core.rb', line 12

def initialize(options={})
  @creator = options[:creator] || 'axlsx'
  @created = options[:created]
end