Class: RejectCallAction
- Inherits:
-
PhoneAction
- Object
- MacroObject
- Action
- PhoneAction
- RejectCallAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Phone
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ RejectCallAction
constructor
A new instance of RejectCallAction.
- #to_s(colour: false, indent: 0) ⇒ Object
Methods inherited from Action
Methods included from ObjectX
#action_to_object, #object_create, #varify
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ RejectCallAction
Returns a new instance of RejectCallAction.
2702 2703 2704 2705 2706 2707 2708 2709 |
# File 'lib/ruby-macrodroid/actions.rb', line 2702 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object
2711 2712 2713 2714 |
# File 'lib/ruby-macrodroid/actions.rb', line 2711 def to_s(colour: false, indent: 0) @s = 'Call Reject' super() end |