Method: Axlsx::Package#initialize
- Defined in:
- lib/axlsx/package.rb
#initialize(options = {}) {|_self| ... } ⇒ Package
Initializes your package
23 24 25 26 27 28 29 30 |
# File 'lib/axlsx/package.rb', line 23 def initialize(={}) @workbook = nil @core, @app = Core.new, App.new @core.creator = [:author] || @core.creator @core.created = [:created_at] yield self if block_given? end |