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.
2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 |
# File 'lib/ruby-macrodroid.rb', line 2383 def initialize(h={}) = { percent: 50, dim_screen_on: true } super(.merge h) end |