red-data-tools / unicode_plot.rb

Plot your data by Unicode characters
MIT License
249 stars 12 forks source link

[close #20] Require StringIO #22

Closed schneems closed 4 years ago

schneems commented 4 years ago

When the stringio library is not required then using the examples gives us this error:

NameError (uninitialized constant UnicodePlot::StyledPrinter::StringIO)

By adding this require to the top level library file we guarantee it is always loaded.

mrkn commented 4 years ago

@schneems Thank you very much!