dynarex 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
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