class ConfirmNextAction

MacroDroid Specific

Public Class Methods

new(h={}) click to toggle source
Calls superclass method MacroDroidAction::new
# File lib/ruby-macrodroid/actions.rb, line 1888
def initialize(h={})
  
  options = {
    :message=>"Do you want to fill the clipboard? ", :title=>"Fill clipboard? ", :negative_text=>"NO", :positive_text=>"YES", :class_type=>"ConfirmNextAction"

  }

  super(h)
  
end

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
Calls superclass method MacroObject#to_s
# File lib/ruby-macrodroid/actions.rb, line 1899
def to_s(colour: false, indent: 0)
  
  @s = 'Confirm Next'  + "\n%s: %s" % [@h[:title], @h[:message]]
  super()
  
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s