From 492a904a5fd8491fd87e0d1f6e16ae663fbac027 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 9 Jul 2023 05:48:40 +0100 Subject: [PATCH] overrides to_s for KindMap classes --- lib/voicemeeter/kinds.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/voicemeeter/kinds.rb b/lib/voicemeeter/kinds.rb index e301266..71bf4d6 100644 --- a/lib/voicemeeter/kinds.rb +++ b/lib/voicemeeter/kinds.rb @@ -10,6 +10,7 @@ module Voicemeeter def virt_out = outs[1] def num_strip = ins.sum def num_bus = outs.sum + def to_s = "#{name}".capitalize end basic = KindMap.new(:basic, [2, 1], [1, 1], [4, 4], [0, 0], 0, 80)