class DimScreenAction
Category: Screen
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
ScreenAction::new
# File lib/ruby-macrodroid/actions.rb, line 2886 def initialize(h={}) options = { percent: 50, dim_screen_on: true } 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 2897 def to_s(colour: false, indent: 0) 'DimScreenAction ' + @h.inspect end
Also aliased as: to_summary