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
Returns a new instance of DimScreenAction.
3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 |
# File 'lib/ruby-macrodroid.rb', line 3921 def initialize(h={}) = { percent: 50, dim_screen_on: true } super(.merge h) end |