Module: Voicemeeter::Button::ButtonColorMixin

Included in:
Base
Defined in:
lib/voicemeeter/button.rb

Instance Method Summary collapse

Instance Method Details

#colorObject



20
21
22
# File 'lib/voicemeeter/button.rb', line 20

def color
  method(:getter).super_method.call("color").to_i
end

#color=(val) ⇒ Object



24
25
26
# File 'lib/voicemeeter/button.rb', line 24

def color=(val)
  method(:setter).super_method.call("color", val)
end

#identifierObject



16
17
18
# File 'lib/voicemeeter/button.rb', line 16

def identifier
  "command.button[#{@index}]"
end