Class: CellTowerConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- CellTowerConstraint
- Defined in:
- lib/ruby-macrodroid/constraints.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ CellTowerConstraint
constructor
A new instance of CellTowerConstraint.
- #to_s(colour: false, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ CellTowerConstraint
Returns a new instance of CellTowerConstraint.
321 322 323 324 325 326 327 328 329 330 331 |
# File 'lib/ruby-macrodroid/constraints.rb', line 321 def initialize(h={}) = { cell_group_name: 'test group', cell_ids: ["524,14,41070731"], in_range: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
333 334 335 |
# File 'lib/ruby-macrodroid/constraints.rb', line 333 def to_s(colour: false, indent: 0) 'CellTowerConstraint ' + @h.inspect end |