dynarex 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +2 -2
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -66,8 +66,8 @@ class Dynarex
|
|
66
66
|
buffer = File.open(location,'r').read
|
67
67
|
end
|
68
68
|
@doc = Document.new buffer
|
69
|
-
@summary = summary_to_h
|
70
|
-
@records = records_to_h
|
69
|
+
@summary = summary_to_h
|
70
|
+
@records = records_to_h @default_key
|
71
71
|
@root_name = @doc.root.name
|
72
72
|
@item_name = XPath.first(@doc.root, 'records/*[1]').name
|
73
73
|
end
|