polyrex-schema 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/polyrex-schema.rb +1 -1
- metadata +1 -1
data/lib/polyrex-schema.rb
CHANGED
@@ -20,7 +20,7 @@ class PolyrexSchema
|
|
20
20
|
node = append_node node, b1 do |summary|
|
21
21
|
fields = b2.scan(/\w+(?=[,\]])/)
|
22
22
|
fields.each {|x| summary.add Element.new x}
|
23
|
-
summary.add Element.new('
|
23
|
+
summary.add Element.new('format_mask').add_text(fields.map {|x| "[!%s]" % x}. join(' '))
|
24
24
|
end
|
25
25
|
else
|
26
26
|
node = append_node node, x
|