Closed jjb closed 3 years ago
see also discussion in https://github.com/jmettraux/rufus-scheduler/issues/322
name || handler.source.split("\n").reject{|l| l.empty? }.grep_v(/#.*/)[-2].strip # shaving some horizontal space... name || handler.source.split("\n").reject(&:empty?).grep_v(/#.*/)[-2].strip
see also discussion in https://github.com/jmettraux/rufus-scheduler/issues/322