Class: SilentModeVibrateOffAction

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

Overview

Category: Volume

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SilentModeVibrateOffAction

Returns a new instance of SilentModeVibrateOffAction.



4632
4633
4634
4635
4636
4637
4638
4639
4640
# File 'lib/ruby-macrodroid.rb', line 4632

def initialize(h={})

  options = {
    option: 1
  }

  super(options.merge h)

end

Instance Method Details

#to_s(colour: false) ⇒ Object Also known as: to_summary



4642
4643
4644
# File 'lib/ruby-macrodroid.rb', line 4642

def to_s(colour: false)
  'SilentModeVibrateOffAction ' + @h.inspect
end