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.
4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'lib/ruby-macrodroid.rb', line 4641 def initialize(h={}) = { enabled: true } super(.merge h) end |