Class: DeviceLockedConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- DeviceLockedConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device State
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ DeviceLockedConstraint
constructor
A new instance of DeviceLockedConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ DeviceLockedConstraint
Returns a new instance of DeviceLockedConstraint.
4259 4260 4261 4262 4263 4264 4265 4266 4267 |
# File 'lib/ruby-macrodroid.rb', line 4259 def initialize(h={}) = { locked: true } super(.merge h) end |