From f32bfd5a4d24576b5972c8df0ae1be746dfbab02 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 3 Aug 2023 12:13:46 +0100 Subject: [PATCH] rename TOMLStrBuilder to TOMLConfBuilder --- lib/voicemeeter/configs.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/voicemeeter/configs.rb b/lib/voicemeeter/configs.rb index 8ab75aa..62bfce5 100644 --- a/lib/voicemeeter/configs.rb +++ b/lib/voicemeeter/configs.rb @@ -7,7 +7,7 @@ require_relative "errors" module Voicemeeter module Configs - class TOMLStrBuilder + class TOMLConfBuilder def self.run(kind) aouts = (0...kind.phys_out).to_h { |i| ["A#{i + 1}".to_sym, false] } bouts = (0...kind.virt_out).to_h { |i| ["B#{i + 1}".to_sym, false] } @@ -98,7 +98,7 @@ module Voicemeeter def run logger.debug "Running #{self}" - configs[:reset] = TOMLStrBuilder.run(@kind) + configs[:reset] = TOMLConfBuilder.run(@kind) @filereader.each(&method(:register)) self end