Sha256: 197f17753e4a5fae8e16a34cc7166a56fa453cc41b58c4819bcd65412b613b0b
Contents?: true
Size: 461 Bytes
Versions: 13
Compression:
Stored size: 461 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) 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
13 entries across 13 versions & 1 rubygems