From 848163ef231fa9203307b6912af9e94afe4b5098 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Mon, 5 Sep 2022 00:23:47 +0300 Subject: [PATCH] Fix compatibility with Ruby 3 --- exe/geoclue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exe/geoclue b/exe/geoclue index 5ae6201..54ee53d 100755 --- a/exe/geoclue +++ b/exe/geoclue @@ -59,7 +59,7 @@ if has_arg('-d', '--print-config') puts "" end -print_pair = -> (key, val) { +print_pair = -> ((key, val)) { printf GeoClue.config.format, { key: key, val: val } }