mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Add StringIO for consistency
This commit is contained in:
parent
04eddfd79b
commit
fcbf9305d7
@ -169,7 +169,7 @@ module YouPlot
|
|||||||
def output_data(input)
|
def output_data(input)
|
||||||
# Pass the input to subsequent pipelines
|
# Pass the input to subsequent pipelines
|
||||||
case options[:pass]
|
case options[:pass]
|
||||||
when IO
|
when IO, StringIO
|
||||||
options[:pass].print(input)
|
options[:pass].print(input)
|
||||||
else
|
else
|
||||||
if options[:pass]
|
if options[:pass]
|
||||||
|
Loading…
Reference in New Issue
Block a user