Class: GPSEnabledConstraint

Inherits:
Constraint show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ GPSEnabledConstraint

Returns a new instance of GPSEnabledConstraint.



3219
3220
3221
3222
3223
3224
3225
3226
3227
# File 'lib/ruby-macrodroid.rb', line 3219

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end