Module: Voicemeeter::Button::ButtonColorMixin
- Included in:
- Base
- Defined in:
- lib/voicemeeter/button.rb
Instance Method Summary collapse
Instance Method Details
#color ⇒ Object
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 |
#identifier ⇒ Object
16 17 18 |
# File 'lib/voicemeeter/button.rb', line 16 def identifier "command.button[#{@index}]" end |