From 3c59c5d41cd4f1b686c913dd8f560bc2db07e2b7 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 15 Jul 2023 00:16:10 +0100 Subject: [PATCH] typo fix --- lib/voicemeeter/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/voicemeeter/base.rb b/lib/voicemeeter/base.rb index c7510f0..cf1cf44 100644 --- a/lib/voicemeeter/base.rb +++ b/lib/voicemeeter/base.rb @@ -168,7 +168,7 @@ module Voicemeeter end def get_device_description(index, dir) - unless %i[in out].include > dir + unless %i[in out].include? dir raise VMError.new("dir got: #{dir}, expected in or out") end ctype = FFI::MemoryPointer.new(:long, 1)