Skip to content

Commit

Permalink
use just **args instead of options, **args in SQLServerRealTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
lk0001 committed Jan 19, 2021
1 parent 2d99e3b commit 6f8956e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def current_isolation_level
module SQLServerRealTransaction
attr_reader :starting_isolation_level

def initialize(connection, options, **args)
def initialize(connection, **args)
@connection = connection
@starting_isolation_level = current_isolation_level if options[:isolation]
@starting_isolation_level = current_isolation_level if args[:isolation]
super
end

Expand Down

0 comments on commit 6f8956e

Please sign in to comment.