class UDPCommandAction
Category: Messaging
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
MessagingAction::new
# File lib/ruby-macrodroid/actions.rb, line 2379 def initialize(h={}) options = { destination: '', message: '', port: 1024 } 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 2391 def to_s(colour: false, indent: 0) 'UDPCommandAction ' + @h.inspect end
Also aliased as: to_summary