Class: AutoRotateConstraint

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

Overview

Category: Device State

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



4041
4042
4043
4044
4045
4046
4047
4048
4049
# File 'lib/ruby-macrodroid.rb', line 4041

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end