Class: ElseIfConditionAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- ElseIfConditionAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ElseIfConditionAction
constructor
A new instance of ElseIfConditionAction.
- #to_s(colour: false) ⇒ Object
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ElseIfConditionAction
Returns a new instance of ElseIfConditionAction.
411 412 413 414 415 416 417 418 419 420 |
# File 'lib/ruby-macrodroid/actions.rb', line 411 def initialize(h={}) = { constraint_list: '' } super(.merge h) @label = 'Else If ' end |
Instance Method Details
#to_s(colour: false) ⇒ Object
422 423 424 425 |
# File 'lib/ruby-macrodroid/actions.rb', line 422 def to_s(colour: false) @s = 'Else If ' super() end |