From fcbf9305d7db620ab5dbea612ec753f6d340406e Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Fri, 18 Jun 2021 10:43:28 +0900 Subject: [PATCH] Add StringIO for consistency --- lib/youplot/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/youplot/command.rb b/lib/youplot/command.rb index 51dab9e..d91c178 100644 --- a/lib/youplot/command.rb +++ b/lib/youplot/command.rb @@ -169,7 +169,7 @@ module YouPlot def output_data(input) # Pass the input to subsequent pipelines case options[:pass] - when IO + when IO, StringIO options[:pass].print(input) else if options[:pass]