dynarex 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +4 -3
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -7,9 +7,10 @@ require 'builder'
|
|
7
7
|
class Dynarex
|
8
8
|
include REXML
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
def initialize(opt)
|
11
|
+
o = {xml: '', default_key: ''}.merge opt
|
12
|
+
location = o[:xml]
|
13
|
+
@default_key = o[:default_key]
|
13
14
|
open(location)
|
14
15
|
end
|
15
16
|
|