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.



3843
3844
3845
3846
3847
3848
3849
3850
3851
# File 'lib/ruby-macrodroid.rb', line 3843

def initialize(h={})

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

  super(options.merge h)

end