Class: EndIfAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- EndIfAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ EndIfAction
constructor
A new instance of EndIfAction.
- #to_s(colour: false) ⇒ Object
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ EndIfAction
Returns a new instance of EndIfAction.
433 434 435 436 437 438 439 440 441 |
# File 'lib/ruby-macrodroid/actions.rb', line 433 def initialize(h={}) = { constraint_list: '' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object
443 444 445 |
# File 'lib/ruby-macrodroid/actions.rb', line 443 def to_s(colour: false) 'End If' end |