Class: SignalOnOffConstraint

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

Overview

Category: Connectivity

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

Returns a new instance of SignalOnOffConstraint.



4156
4157
4158
4159
4160
4161
4162
4163
4164
# File 'lib/ruby-macrodroid.rb', line 4156

def initialize(h={})

  options = {
    option: 0
  }

  super(options.merge h)

end