View definition

def Axlsx::SerializedAttributes#serialized_element_attributes

Defined in github.com/randym/axlsx/lib/axlsx/util/serialized_attributes.rb

Description

serialized instance values at text nodes on a camelized element of the attribute name. You may pass in a block for evaluation against non nil values. We use an array for element attributes becuase misordering will break the xml and 1.8.7 does not support ordered hashes.

Parameters:

  • str (String) (defaults to: '')

    The string instance to which serialized data is appended

  • additional_attributes (Array) (defaults to: [])

    An array of additional attribute names.

Yields:

  • (value)

serialized_element_attributes is referenced in 0 repositories