Class: IsRootedConstraint

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

Overview

Category: Device State

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ IsRootedConstraint

Returns a new instance of IsRootedConstraint.



4657
4658
4659
4660
4661
4662
4663
4664
4665
# File 'lib/ruby-macrodroid.rb', line 4657

def initialize(h={})

  options = {
    rooted: true
  }

  super(options.merge h)

end