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
|
def run
|
||||||
logger.debug "Running #{self}"
|
logger.debug "Running #{self}"
|
||||||
configs[:reset] = TOMLStrBuilder.run(@kind)
|
configs[:reset] = TOMLStrBuilder.run(@kind)
|
||||||
@filereader.each do |identifier, data|
|
@filereader.each(&method(:register))
|
||||||
register(identifier, data)
|
|
||||||
end
|
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user