overrides to_s for KindMap classes

This commit is contained in:
onyx-and-iris 2023-07-09 05:48:40 +01:00
parent 9fbf67701c
commit 492a904a5f

View File

@ -10,6 +10,7 @@ module Voicemeeter
def virt_out = outs[1] def virt_out = outs[1]
def num_strip = ins.sum def num_strip = ins.sum
def num_bus = outs.sum def num_bus = outs.sum
def to_s = "#{name}".capitalize
end end
basic = KindMap.new(:basic, [2, 1], [1, 1], [4, 4], [0, 0], 0, 80) basic = KindMap.new(:basic, [2, 1], [1, 1], [4, 4], [0, 0], 0, 80)