Method: XSD::ComplexType#final

Defined in:
lib/xsd/objects/complex_type.rb

#finalObject

Optional. Prevents a specified type of derivation of this complex type element. Can contain #all or a list that is a subset of extension or restriction.

extension - prevents derivation by extension
restriction - prevents derivation by restriction
#all - prevents all derivation

Returns:

  • String, nil



45
# File 'lib/xsd/objects/complex_type.rb', line 45

property :final, :string