From af6ed61f9bdcd9eaec80a9eb924d5e64a0b95700 Mon Sep 17 00:00:00 2001 From: Vladimir Lyzo Date: Tue, 30 Apr 2024 09:30:29 +1000 Subject: [PATCH] fix server? method --- lib/que.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/que.rb b/lib/que.rb index 89459472..99c2686c 100644 --- a/lib/que.rb +++ b/lib/que.rb @@ -80,7 +80,7 @@ def default_queue end def server? - defined?(Que::CommandLineInterface).nil? + !defined?(Que::CommandLineInterface).nil? end # Support simple integration with many common connection pools.