Class: ElseAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- ElseAction
- Defined in:
- lib/ruby-macrodroid.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.
3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 |
# File 'lib/ruby-macrodroid.rb', line 3022 def initialize(h={}) = { constraint_list: '' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object
3033 3034 3035 |
# File 'lib/ruby-macrodroid.rb', line 3033 def to_s(colour: false) 'Else' end |