From 47ba4ededa7b5fe4dfdf5895872ef5d1b6855fc8 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 4 Aug 2020 20:13:34 +0900 Subject: [PATCH] Fix typo --- lib/uplot/command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/uplot/command.rb b/lib/uplot/command.rb index 2bd4243..829dbef 100644 --- a/lib/uplot/command.rb +++ b/lib/uplot/command.rb @@ -168,8 +168,8 @@ module Uplot UnicodePlot.lineplot(x, y, **@params.compact) end - def get_method2(_method1) - (method_name.to_s + '!').to_sym + def get_method2(method1) + (method1.to_s + '!').to_sym end def xyy_plot(data, headers, method1) # improve method name