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, #to_s

Constructor Details

#initialize(h = {}) ⇒ GPSEnabledConstraint

Returns a new instance of GPSEnabledConstraint.



4124
4125
4126
4127
4128
4129
4130
4131
4132
# File 'lib/ruby-macrodroid.rb', line 4124

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end