class LogAction

Category: Logging

Public Class Methods

new(h={}) click to toggle source
Calls superclass method LoggingAction::new
# File lib/ruby-macrodroid/actions.rb, line 1811
def initialize(h={})

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

  super(options.merge h)

end

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 1822
def to_s(colour: false, indent: 0)
  'LogAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s