Class: InCallConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- InCallConstraint
- Defined in:
- lib/ruby-macrodroid/constraints.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, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ InCallConstraint
Returns a new instance of InCallConstraint.
1105 1106 1107 1108 1109 1110 1111 1112 1113 |
# File 'lib/ruby-macrodroid/constraints.rb', line 1105 def initialize(h={}) = { in_call: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
1115 1116 1117 |
# File 'lib/ruby-macrodroid/constraints.rb', line 1115 def to_s(colour: false, indent: 0) 'InCallConstraint ' + @h.inspect end |