Class: DimScreenAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- DimScreenAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ DimScreenAction
constructor
A new instance of DimScreenAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DimScreenAction
Returns a new instance of DimScreenAction.
2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 |
# File 'lib/ruby-macrodroid.rb', line 2195 def initialize(h={}) = { percent: 50, dim_screen_on: true } super(.merge h) end |