From 04775e8a3ed7e44580bae9369d246d35ae058a37 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 20 Jul 2023 09:50:44 +0100 Subject: [PATCH] use symbols --- lib/voicemeeter/event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/voicemeeter/event.rb b/lib/voicemeeter/event.rb index d5ef3cd..0d61942 100644 --- a/lib/voicemeeter/event.rb +++ b/lib/voicemeeter/event.rb @@ -73,7 +73,7 @@ module Voicemeeter end def get - %w[pdirty mdirty midi ldirty].reject { |ev| !send(ev.to_s) } + %i[pdirty mdirty midi ldirty].reject { |ev| !send(ev) } end def any?