class RBT::Action::Statistics::DisplayBarplotStatistics
Public Class Methods
[](i = ARGV)
click to toggle source
Public Instance Methods
reset()
click to toggle source
run()
click to toggle source
#¶ ↑
run (run tag)¶ ↑
#¶ ↑
# File lib/rbt/actions/individual_actions/statistics/display_barplot_statistics.rb, line 50 def run array = RBT.statistics? require 'unicode_plot' UnicodePlot.barplot( data: Hash[array], # {'foo': 20, 'bar': 50}, title: 'RBT - increase in the number of programs over the years' ).render end