Class: StopwatchTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- StopwatchTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Date/Time
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ StopwatchTrigger
constructor
A new instance of StopwatchTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ StopwatchTrigger
Returns a new instance of StopwatchTrigger.
1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 |
# File 'lib/ruby-macrodroid.rb', line 1580 def initialize(h={}) = { stopwatch_name: 'timer1', seconds: 240 } super(.merge h) end |