Class: KillBackgroundAppAction
- Inherits:
-
ApplicationAction
- Object
- MacroObject
- Action
- ApplicationAction
- KillBackgroundAppAction
- Defined in:
- lib/ruby-macrodroid.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) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ KillBackgroundAppAction
Returns a new instance of KillBackgroundAppAction.
2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 |
# File 'lib/ruby-macrodroid.rb', line 2882 def initialize(h={}) = { application_name_list: [""], package_name_list: [""] } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
2893 2894 2895 |
# File 'lib/ruby-macrodroid.rb', line 2893 def to_s(colour: false) 'KillBackgroundAppAction ' + @h.inspect end |