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.
4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 |
# File 'lib/ruby-macrodroid.rb', line 4200 def initialize(h={}) = { equals: false, greater_than: false, temperature: 30 } super(.merge h) end |