Class: AutoRotateConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- AutoRotateConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device State
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ AutoRotateConstraint
constructor
A new instance of AutoRotateConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ AutoRotateConstraint
4041 4042 4043 4044 4045 4046 4047 4048 4049 |
# File 'lib/ruby-macrodroid.rb', line 4041 def initialize(h={}) = { enabled: true } super(.merge h) end |