lib/isolator/isolate.rb in isolator-0.3.0 vs lib/isolator/isolate.rb in isolator-0.4.0

- old
+ new

@@ -3,10 +3,10 @@ module Isolator # Add .isolate function to build and register adapters module Isolate def isolate(id, **options) raise "Adapter already registered: #{id}" if Isolator.adapters.key?(id.to_s) - adapter = AdapterBuilder.call(**options) + adapter = AdapterBuilder.call(options) Isolator.adapters[id.to_s] = adapter end end end