View definition

def Axlsx::SimpleTypedList#initialize

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

Description

Creats a new typed list

Parameters:

  • type (Array, Class)

    An array of Class objects or a single Class object

  • serialize_as (String) (defaults to: nil)

    The tag name to use in serialization

Raises:

  • (ArgumentError)

    if all members of type are not Class objects

initialize is referenced in 0 repositories