Add StringIO for consistency

This commit is contained in:
kojix2 2021-06-18 10:43:28 +09:00
parent 04eddfd79b
commit fcbf9305d7

View File

@ -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]