Closed schneems closed 4 years ago
Ahh, there needs to be a:
require 'stringio'
First impressions with the library: This is awesome!
Histogram
┌ ┐
[3.1, 3.2) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 23
[3.2, 3.3) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 14
[3.3, 3.4) ┤▇▇▇▇▇▇▇▇ 5
[3.4, 3.5) ┤▇▇▇▇▇ 3
[3.5, 3.6) ┤▇▇ 1
[3.6, 3.7) ┤▇▇▇▇▇▇▇▇ 5
[3.7, 3.8) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇ 8
[3.8, 3.9) ┤▇▇▇ 2
└ ┘
Frequency=> nil
Code:
IRB:
I'm guessing that
StringIO
in that context should be::StringIO
Ruby 2.7.0, latest version of this gem.