spark_graph
Given a list of numeric values, this method turns them into a string of bar heights. Useful for quickly graphing the shape of an array. Remember to use puts so you can see the output. See spark
for a simple way of printing a spark graph.
Introduced in v2.5
# Example 1 | |
|
|
# Example 2 | |
|
|