Class: LocationModeConstraint

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 = {}) ⇒ LocationModeConstraint

Returns a new instance of LocationModeConstraint.



4140
4141
4142
4143
4144
4145
4146
4147
4148
# File 'lib/ruby-macrodroid.rb', line 4140

def initialize(h={})

  options = {
    options: [false, false, false, true]
  }

  super(options.merge h)

end