Class: VpnConstraint
- Inherits:
-
Constraint
- Object
- MacroObject
- Constraint
- VpnConstraint
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Device State
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ VpnConstraint
constructor
A new instance of VpnConstraint.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Constraint
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ VpnConstraint
Returns a new instance of VpnConstraint.
5418 5419 5420 5421 5422 5423 5424 5425 5426 |
# File 'lib/ruby-macrodroid.rb', line 5418 def initialize(h={}) = { option: 0 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
5428 5429 5430 |
# File 'lib/ruby-macrodroid.rb', line 5428 def to_s(colour: false) 'VpnConstraint ' + @h.inspect end |