Sha256: 21b2088518417be9e113039741e31d6e026908c01e51f8e9789763484865e374
Contents?: true
Size: 475 Bytes
Versions: 17
Compression:
Stored size: 475 Bytes
Contents
require 'junoser/xsd/base' module Junoser module Xsd class Union include Base def config @config ||= children.map {|child| case child.name when 'simpleType' Junoser::Xsd::SimpleType.new(child, depth: @depth+1, parent: self) else raise "ERROR: unknown element: #{child.name}" end } end def to_s format(config.first.to_s.strip) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems