Class: EndIfAction

Inherits:
Action show all
Defined in:
lib/ruby-macrodroid.rb

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ EndIfAction

Returns a new instance of EndIfAction.



3058
3059
3060
3061
3062
3063
3064
3065
3066
# File 'lib/ruby-macrodroid.rb', line 3058

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)

end

Instance Method Details

#to_s(colour: false) ⇒ Object



3068
3069
3070
# File 'lib/ruby-macrodroid.rb', line 3068

def to_s(colour: false)
  'End If'
end