Class: PhoneRingingConstraint

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

Overview

Category: Phone

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

Returns a new instance of PhoneRingingConstraint.



3805
3806
3807
3808
3809
3810
3811
3812
3813
# File 'lib/ruby-macrodroid.rb', line 3805

def initialize(h={})

  options = {
    ringing: true
  }

  super(options.merge h)

end