dynarex 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +3 -1
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -148,7 +148,9 @@ EOF
|
|
148
148
|
|
149
149
|
#Save the document to a local file.
|
150
150
|
|
151
|
-
def save(
|
151
|
+
def save(*args)
|
152
|
+
# args = [filepath=nil, opt={}]
|
153
|
+
opt, filepath = args.reverse
|
152
154
|
filepath ||= @local_filepath
|
153
155
|
@local_filepath = filepath
|
154
156
|
xml = display_xml(opt)
|