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.



3051
3052
3053
3054
3055
3056
3057
3058
3059
# File 'lib/ruby-macrodroid.rb', line 3051

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)

end

Instance Method Details

#to_s(colour: false) ⇒ Object



3061
3062
3063
# File 'lib/ruby-macrodroid.rb', line 3061

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