Class: ShakeDeviceTrigger
- Inherits:
-
SensorsTrigger
- Object
- MacroObject
- Trigger
- SensorsTrigger
- ShakeDeviceTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Sensors
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ShakeDeviceTrigger
constructor
A new instance of ShakeDeviceTrigger.
- #to_pc ⇒ Object
- #to_s ⇒ Object
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ShakeDeviceTrigger
1981 1982 1983 1984 1985 1986 1987 1988 |
# File 'lib/ruby-macrodroid.rb', line 1981 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_pc ⇒ Object
1990 1991 1992 |
# File 'lib/ruby-macrodroid.rb', line 1990 def to_pc() 'shake_device?' end |
#to_s ⇒ Object
1994 1995 1996 |
# File 'lib/ruby-macrodroid.rb', line 1994 def to_s() 'Shake Device' end |