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.



3448
3449
3450
3451
3452
3453
3454
3455
3456
# File 'lib/ruby-macrodroid.rb', line 3448

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end