Class: ElseAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- ElseAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ElseAction
constructor
A new instance of ElseAction.
- #to_s(colour: false) ⇒ Object
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ElseAction
Returns a new instance of ElseAction.
392 393 394 395 396 397 398 399 400 401 |
# File 'lib/ruby-macrodroid/actions.rb', line 392 def initialize(h={}) = { constraint_list: '' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object
403 404 405 |
# File 'lib/ruby-macrodroid/actions.rb', line 403 def to_s(colour: false) 'Else' end |