class IntentReceivedTrigger

Category: Device Events

Public Class Methods

new(h={}) click to toggle source
Calls superclass method DeviceEventsTrigger::new
# File lib/ruby-macrodroid/triggers.rb, line 1159
def initialize(h={})

  options = {
    action: '',
    extra_params: [],
    extra_value_patterns: [],
    extra_variables: [],
    enable_regex: false
  }

  super(options.merge h)

end

Public Instance Methods

to_s(colour: false) click to toggle source
# File lib/ruby-macrodroid/triggers.rb, line 1173
def to_s(colour: false)
  'IntentReceivedTrigger ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false)
Alias for: to_s