Class: DimScreenAction
- Inherits:
-
ScreenAction
- Object
- MacroObject
- Action
- ScreenAction
- DimScreenAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Screen
Instance Attribute Summary
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.
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 |
# File 'lib/ruby-macrodroid.rb', line 2845 def initialize(h={}) = { percent: 50, dim_screen_on: true } super(.merge h) end |