Class: KillBackgroundAppAction
- Inherits:
-
ApplicationAction
- Object
- MacroObject
- Action
- ApplicationAction
- KillBackgroundAppAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Applications
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ KillBackgroundAppAction
constructor
A new instance of KillBackgroundAppAction.
- #to_s(colour: false, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods included from ObjectX
#action_to_object, #object_create, #varify
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ KillBackgroundAppAction
Returns a new instance of KillBackgroundAppAction.
124 125 126 127 128 129 130 131 132 133 |
# File 'lib/ruby-macrodroid/actions.rb', line 124 def initialize(h={}) = { application_name_list: [""], package_name_list: [""] } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
135 136 137 |
# File 'lib/ruby-macrodroid/actions.rb', line 135 def to_s(colour: false, indent: 0) 'KillBackgroundAppAction ' + @h.inspect end |