Class: ScreenOnOffConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- ScreenOnOffConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Screen and Speaker
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ScreenOnOffConstraint
constructor
A new instance of ScreenOnOffConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ScreenOnOffConstraint
Returns a new instance of ScreenOnOffConstraint.
4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 |
# File 'lib/ruby-macrodroid.rb', line 4431 def initialize(h={}) = { a: true, screen_on: true } super(.merge h) end |