Class: ClipboardChangeTrigger

Inherits:
Trigger show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Device Events

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ClipboardChangeTrigger

Returns a new instance of ClipboardChangeTrigger.



1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'lib/ruby-macrodroid.rb', line 1329

def initialize(h={})

  options = {
    text: '',
    enable_regex: false
  }

  super(options.merge h)

end