lib/axlsx/package.rb in axlsx-1.0.13 vs lib/axlsx/package.rb in axlsx-1.0.14
- old
+ new
@@ -2,9 +2,17 @@
module Axlsx
# Package is responsible for managing all the bits and peices that Open Office XML requires to make a valid
# xlsx document including valdation and serialization.
class Package
+ # provides access to the app doc properties for this package
+ # see App
+ attr_reader :app
+
+ # provides access to the core doc properties for the package
+ # see Core
+ attr_reader :core
+
# Initializes your package
#
# @param [Hash] options A hash that you can use to specify the author and workbook for this package.
# @option options [String] :author The author of the document
# @example Package.new :author => 'you!', :workbook => Workbook.new