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.
1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 |
# File 'lib/ruby-macrodroid.rb', line 1040 def initialize(h={}) = { stopwatch_name: 'timer1', seconds: 240 } super(.merge h) end |