Class: LogAction

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

Overview

Category: Logging

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 = {}) ⇒ LogAction

Returns a new instance of LogAction.



3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
# File 'lib/ruby-macrodroid.rb', line 3371

def initialize(h={})

  options = {
    log_text: '',
    log_date_and_time: true
  }

  super(options.merge h)

end