Method: XSD::Union#types
- Defined in:
- lib/xsd/objects/union.rb
#types ⇒ Object
Nested simple and built-in types
17 18 19 20 21 |
# File 'lib/xsd/objects/union.rb', line 17 def types @types ||= map_children(:simpleType) + member_types.map do |name| object_by_name(:simpleType, name) || name end end |