Class: RejectCallAction
- Inherits:
-
PhoneAction
- Object
- MacroObject
- Action
- PhoneAction
- RejectCallAction
- Defined in:
- lib/ruby-macrodroid.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) ⇒ Object
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ RejectCallAction
Returns a new instance of RejectCallAction.
4376 4377 4378 4379 4380 4381 4382 4383 |
# File 'lib/ruby-macrodroid.rb', line 4376 def initialize(h={}) = { } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object
4385 4386 4387 4388 |
# File 'lib/ruby-macrodroid.rb', line 4385 def to_s(colour: false) @s = 'Call Reject' + "\n " super() end |