Add name to Params

This commit is contained in:
kojix2 2020-08-15 22:13:06 +09:00
parent 1d1ae9e1b0
commit e887dc3f5a

View File

@ -71,6 +71,7 @@ module Uplot
class Command
Params = Struct.new(
# Sort me!
:title,
:width,
:height,
@ -88,7 +89,8 @@ module Uplot
:canvas,
:xlim,
:ylim,
:grid
:grid,
:name
) do
def to_hc
to_h.compact