Valor default para title

This commit is contained in:
Roberto Alsina 2023-06-04 18:16:21 -03:00
parent 4c46cb2958
commit a55784a4cd

View File

@ -4,7 +4,7 @@ require "ishi/html"
require "json"
class Handler
def format_buffer(buffer, canvas_name, title)
def format_buffer(buffer, canvas_name, title = "")
# Process the gnuplot output so it works in the page
#
# buffer is the Ishi output