dynarex 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/dynarex.rb +2 -2
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
|
@@ -26,10 +26,10 @@ class Dynarex
|
|
|
26
26
|
|
|
27
27
|
xml.send @root_name do
|
|
28
28
|
xml.summary do
|
|
29
|
-
|
|
29
|
+
@summary.each{|key,value| xml.send key, value}
|
|
30
30
|
end
|
|
31
31
|
xml.records do
|
|
32
|
-
|
|
32
|
+
@records.each do |item|
|
|
33
33
|
xml.send @item_name do
|
|
34
34
|
item.each do |key, value|
|
|
35
35
|
xml.send key, value
|