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, #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.



2614
2615
2616
2617
2618
2619
2620
2621
2622
# File 'lib/ruby-macrodroid.rb', line 2614

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)

end

Instance Method Details

#to_sObject



2624
2625
2626
# File 'lib/ruby-macrodroid.rb', line 2624

def to_s()
  'End If'
end