Class: StopWatchAction

Inherits:
DateTimeAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Date/Time

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ StopWatchAction

Returns a new instance of StopWatchAction.



2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
# File 'lib/ruby-macrodroid.rb', line 2871

def initialize(h={})

  options = {
    stopwatch_name: 'timer1',
    option: 0
  }

  super(options.merge h)

end