Class: DimScreenAction
- Inherits:
-
ScreenAction
- Object
- MacroObject
- Action
- ScreenAction
- DimScreenAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Screen
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ DimScreenAction
constructor
A new instance of DimScreenAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DimScreenAction
3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 |
# File 'lib/ruby-macrodroid.rb', line 3785 def initialize(h={}) = { percent: 50, dim_screen_on: true } super(.merge h) end |