Class: ClearLogAction
- Inherits:
-
LoggingAction
- Object
- MacroObject
- Action
- LoggingAction
- ClearLogAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Logging
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ClearLogAction
constructor
A new instance of ClearLogAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ClearLogAction
Returns a new instance of ClearLogAction.
3893 3894 3895 3896 3897 3898 3899 3900 3901 |
# File 'lib/ruby-macrodroid.rb', line 3893 def initialize(h={}) = { user_log: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
3903 3904 3905 |
# File 'lib/ruby-macrodroid.rb', line 3903 def to_s(colour: false) 'ClearLogAction ' + @h.inspect end |