lib/junoser/xsd/simple_content.rb in junoser-0.2.2 vs lib/junoser/xsd/simple_content.rb in junoser-0.2.3
- old
+ new
@@ -14,10 +14,10 @@
when 'extension'
'arg'
else
raise "ERROR: unknown element: #{child.name}"
end
- }.compact
+ }
end
def to_s
return if config.empty?
raise "ERROR: simpleContent shouldn't have multiple children" if config.size > 1