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.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 |
# File 'lib/ruby-macrodroid.rb', line 1784 def initialize(h={}) = { stopwatch_name: 'timer1', seconds: 240 } super(.merge h) end |