From e887dc3f5ad81855172dd14239f14616d9816c2a Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sat, 15 Aug 2020 22:13:06 +0900 Subject: [PATCH] Add name to Params --- lib/uplot/command.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/uplot/command.rb b/lib/uplot/command.rb index 2eb0bac..1b9a9aa 100644 --- a/lib/uplot/command.rb +++ b/lib/uplot/command.rb @@ -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