Class: ClearNotificationsAction
- Inherits:
-
NotificationsAction
- Object
- MacroObject
- Action
- NotificationsAction
- ClearNotificationsAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Notifications
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ClearNotificationsAction
constructor
A new instance of ClearNotificationsAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ClearNotificationsAction
Returns a new instance of ClearNotificationsAction.
4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 |
# File 'lib/ruby-macrodroid.rb', line 4086 def initialize(h={}) = { package_name_list: [], match_text: '', application_name_list: [], clear_persistent: false, excludes: false, match_option: 0, age_in_seconds: 0, option: 0, enable_regex: false } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
4104 4105 4106 |
# File 'lib/ruby-macrodroid.rb', line 4104 def to_s(colour: false) 'ClearNotificationsAction ' + @h.inspect end |