mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-24 10:50:49 +00:00
pass result of method(:register) to each block
filename and file data are yielded as arguments to register
This commit is contained in:
parent
a754e3b9ea
commit
76320565f5
@ -99,9 +99,7 @@ module Voicemeeter
|
||||
def run
|
||||
logger.debug "Running #{self}"
|
||||
configs[:reset] = TOMLStrBuilder.run(@kind)
|
||||
@filereader.each do |identifier, data|
|
||||
register(identifier, data)
|
||||
end
|
||||
@filereader.each(&method(:register))
|
||||
self
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user