Method: Axlsx::NumFmt#initialize

Defined in:
lib/axlsx/stylesheet/num_fmt.rb

#initialize(options = {}) ⇒ NumFmt

Creates a new NumFmt object

Parameters:

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

    Options for the number format object

  • [Integer] (Hash)

    a customizable set of options

  • [String] (Hash)

    a customizable set of options



14
15
16
17
18
# File 'lib/axlsx/stylesheet/num_fmt.rb', line 14

def initialize(options={})
  @numFmtId = 0
  @formatCode = ""
  parse_options options
end