Method: Axlsx::DefinedName#initialize

Defined in:
lib/axlsx/workbook/defined_name.rb

#initialize(formula, options = {}) ⇒ DefinedName

creates a new DefinedName.

Parameters:

  • formula (String)
    • the formula the defined name references
  • options (Hash) (defaults to: {})
    • A hash of key/value pairs that will be mapped to this instances attributes.
  • [String] (Hash)

    a customizable set of options

  • [Boolean] (Hash)

    a customizable set of options

  • [Integer] (Hash)

    a customizable set of options



100
101
102
103
# File 'lib/axlsx/workbook/defined_name.rb', line 100

def initialize(formula, options={})
  @formula = formula
  parse_options options
end