lib/async/redis/client.rb in async-redis-0.5.3 vs lib/async/redis/client.rb in async-redis-0.6.0
- old
+ new
@@ -42,10 +42,10 @@
end
class Client
include ::Protocol::Redis::Methods
- def initialize(endpoint = Redis.local_endpoint, protocol = Protocol::RESP2, **options)
+ def initialize(endpoint = Redis.local_endpoint, protocol: Protocol::RESP2, **options)
@endpoint = endpoint
@protocol = protocol
@pool = connect(**options)
end