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.
339 340 341 342 343 344 345 346 347 |
# File 'lib/ruby-macrodroid/actions.rb', line 339 def initialize(h={}) = { constraint_list: '' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object
349 350 351 |
# File 'lib/ruby-macrodroid/actions.rb', line 349 def to_s(colour: false) 'End If' end |