mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-25 03:10:49 +00:00
rename TOMLStrBuilder to TOMLConfBuilder
This commit is contained in:
parent
76320565f5
commit
f32bfd5a4d
@ -7,7 +7,7 @@ require_relative "errors"
|
|||||||
|
|
||||||
module Voicemeeter
|
module Voicemeeter
|
||||||
module Configs
|
module Configs
|
||||||
class TOMLStrBuilder
|
class TOMLConfBuilder
|
||||||
def self.run(kind)
|
def self.run(kind)
|
||||||
aouts = (0...kind.phys_out).to_h { |i| ["A#{i + 1}".to_sym, false] }
|
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] }
|
bouts = (0...kind.virt_out).to_h { |i| ["B#{i + 1}".to_sym, false] }
|
||||||
@ -98,7 +98,7 @@ module Voicemeeter
|
|||||||
|
|
||||||
def run
|
def run
|
||||||
logger.debug "Running #{self}"
|
logger.debug "Running #{self}"
|
||||||
configs[:reset] = TOMLStrBuilder.run(@kind)
|
configs[:reset] = TOMLConfBuilder.run(@kind)
|
||||||
@filereader.each(&method(:register))
|
@filereader.each(&method(:register))
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user