Class: StopwatchTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- StopwatchTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ StopwatchTrigger
constructor
A new instance of StopwatchTrigger.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ StopwatchTrigger
Returns a new instance of StopwatchTrigger.
850 851 852 853 854 855 856 857 858 859 |
# File 'lib/ruby-macrodroid.rb', line 850 def initialize(h={}) = { stopwatch_name: 'timer1', seconds: 240 } super(.merge h) end |