Class: FaceUpDownConstraint

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

Overview

Category: Sensors

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

Returns a new instance of FaceUpDownConstraint.



4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
# File 'lib/ruby-macrodroid.rb', line 4165

def initialize(h={})

  options = {
    option: -1,
    selected_options: [true, false, true, false, false, false]
  }

  super(options.merge h)

end