Class: OrientationTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- OrientationTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ OrientationTrigger
constructor
A new instance of OrientationTrigger.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ OrientationTrigger
Returns a new instance of OrientationTrigger.
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/ruby-macrodroid.rb', line 1257 def initialize(h={}) = { check_orientation_alive: true, option: 0 } super(.merge h) end |