dynarex 1.2.8 → 1.2.9
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 +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)
|