Class: CellTowerConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- CellTowerConstraint
- Defined in:
- lib/ruby-macrodroid.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) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ CellTowerConstraint
Returns a new instance of CellTowerConstraint.
5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 |
# File 'lib/ruby-macrodroid.rb', line 5003 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) ⇒ Object Also known as: to_summary
5015 5016 5017 |
# File 'lib/ruby-macrodroid.rb', line 5015 def to_s(colour: false) 'CellTowerConstraint ' + @h.inspect end |