Class: NFCStateConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- NFCStateConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device State
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ NFCStateConstraint
constructor
A new instance of NFCStateConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ NFCStateConstraint
Returns a new instance of NFCStateConstraint.
4501 4502 4503 4504 4505 4506 4507 4508 4509 |
# File 'lib/ruby-macrodroid.rb', line 4501 def initialize(h={}) = { enabled: true } super(.merge h) end |