Class: BatteryTemperatureConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- BatteryTemperatureConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Battery/Power
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ BatteryTemperatureConstraint
constructor
A new instance of BatteryTemperatureConstraint.
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ BatteryTemperatureConstraint
Returns a new instance of BatteryTemperatureConstraint.
4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 |
# File 'lib/ruby-macrodroid.rb', line 4060 def initialize(h={}) = { equals: false, greater_than: false, temperature: 30 } super(.merge h) end |