Class: InCallConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- InCallConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Phone
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ InCallConstraint
constructor
A new instance of InCallConstraint.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ InCallConstraint
Returns a new instance of InCallConstraint.
5660 5661 5662 5663 5664 5665 5666 5667 5668 |
# File 'lib/ruby-macrodroid.rb', line 5660 def initialize(h={}) = { in_call: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
5670 5671 5672 |
# File 'lib/ruby-macrodroid.rb', line 5670 def to_s(colour: false) 'InCallConstraint ' + @h.inspect end |