Class: IsRoamingConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- IsRoamingConstraint
- Defined in:
- lib/ruby-macrodroid/constraints.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ IsRoamingConstraint
constructor
A new instance of IsRoamingConstraint.
- #to_s(colour: false, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ IsRoamingConstraint
Returns a new instance of IsRoamingConstraint.
344 345 346 347 348 349 350 351 352 |
# File 'lib/ruby-macrodroid/constraints.rb', line 344 def initialize(h={}) = { is_roaming: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
354 355 356 |
# File 'lib/ruby-macrodroid/constraints.rb', line 354 def to_s(colour: false, indent: 0) 'IsRoamingConstraint ' + @h.inspect end |