lib/junoser/xsd/enumeration.rb in junoser-0.2.13 vs lib/junoser/xsd/enumeration.rb in junoser-0.3.0

- old
+ new

@@ -14,10 +14,14 @@ has_match? ? ['arg'] : [%["#{xml['value']}"]] end def to_s - format(OFFSET + config.first) + if nokeyword? + format(OFFSET + 'arg') + else + format(OFFSET + config.first) + end end private