mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 23:00:48 +00:00
rename type_ arg to mode
This commit is contained in:
parent
ea57227b46
commit
bdd4cbe9d8
@ -14,12 +14,12 @@ module Voicemeeter
|
|||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
def getter(mode)
|
def getter(type_)
|
||||||
@remote.get_buttonstatus(@index, mode)
|
remote.get_buttonstatus(@index, type_)
|
||||||
end
|
end
|
||||||
|
|
||||||
def setter(set, mode)
|
def setter(type_, val)
|
||||||
@remote.set_buttonstatus(@index, set, mode)
|
remote.set_buttonstatus(@index, type_, val)
|
||||||
end
|
end
|
||||||
|
|
||||||
def state
|
def state
|
||||||
|
Loading…
Reference in New Issue
Block a user