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.
Files changed (2) hide show
  1. data/lib/dynarex.rb +3 -1
  2. metadata +1 -1
@@ -148,7 +148,9 @@ EOF
148
148
 
149
149
  #Save the document to a local file.
150
150
 
151
- def save(filepath=nil, opt={})
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)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.8
5
+ version: 1.2.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson