Class: StopwatchTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- StopwatchTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Date/Time
Instance Attribute Summary
Attributes inherited from Trigger
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.
1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 |
# File 'lib/ruby-macrodroid.rb', line 1700 def initialize(h={}) = { stopwatch_name: 'timer1', seconds: 240 } super(.merge h) end |