class SetScreenTimeoutAction

Category: Screen

Public Class Methods

new(h={}) click to toggle source
Calls superclass method ScreenAction::new
# File lib/ruby-macrodroid/actions.rb, line 2992
def initialize(h={})

  options = {
    timeout_delay_string: '1 Minute',
    timeout_delay: 60,
    custom_value_delay: 0
  }

  super(options.merge h)

end

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 3004
def to_s(colour: false, indent: 0)
  'SetScreenTimeoutAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s