Class: StopWatchAction

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

Overview

Category: Date/Time

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ StopWatchAction



2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
# File 'lib/ruby-macrodroid.rb', line 2457

def initialize(h={})

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

  super(options.merge h)

end