class SendIntentAction
Category: Connectivity
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
ConnectivityAction::new
# File lib/ruby-macrodroid/actions.rb, line 913 def initialize(h={}) options = { action: '', class_name: '', data: '', extra1_name: '', extra1_value: '', extra2_name: '', extra2_value: '', extra3_name: '', extra3_value: '', extra4_name: '', extra4_value: '', package_name: '', target: 'Activity' } super(options.merge h) end
Public Instance Methods
to_s(colour: false, indent: 0)
click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 935 def to_s(colour: false, indent: 0) 'Send Intent ' + "\n " + @h[:action] end
Also aliased as: to_summary