lib/redic.rb in redic-1.0.1 vs lib/redic.rb in redic-1.1.0
- old
+ new
@@ -2,10 +2,10 @@
class Redic
attr :url
attr :client
- def initialize(url = "redis://127.0.0.1:6379", timeout: 10_000_000)
+ def initialize(url = "redis://127.0.0.1:6379", timeout = 10_000_000)
@url = url
@client = Redic::Client.new(url, timeout)
@queue = []
end