From d9d36078183c2e45d7a1f39ffdfa893e48774518 Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Sun, 25 Feb 2024 19:24:15 -0800 Subject: [PATCH] fix: privat attr_reader for older ruby --- lib/anyt/client.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/anyt/client.rb b/lib/anyt/client.rb index ed5fa6e..edc953c 100644 --- a/lib/anyt/client.rb +++ b/lib/anyt/client.rb @@ -29,7 +29,8 @@ def initialize(event) WAIT_WHEN_EXPECTING_EVENT = 5 WAIT_WHEN_NOT_EXPECTING_EVENT = 0.5 - private attr_reader :logger + attr_reader :logger + private :logger attr_reader :url