class NotificationPresentConstraint
Category: Notification
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
Constraint::new
# File lib/ruby-macrodroid/constraints.rb, line 1034 def initialize(h={}) options = { enable_regex: false, application_name_list: ["All applications"], exact_match: false, excludes: false, excludes_apps: -1, option: 0, package_name_list: ["allApplications"], text_content: '' } super(options.merge h) end
Public Instance Methods
to_s(colour: false, indent: 0)
click to toggle source
# File lib/ruby-macrodroid/constraints.rb, line 1051 def to_s(colour: false, indent: 0) 'NotificationPresentConstraint ' + @h.inspect end
Also aliased as: to_summary