Class: SignalOnOffConstraint

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

Overview

Category: Connectivity

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

Returns a new instance of SignalOnOffConstraint.



4296
4297
4298
4299
4300
4301
4302
4303
4304
# File 'lib/ruby-macrodroid.rb', line 4296

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end