# File src/rubydice_doc.rb, line 49 def histogram @bins.each_with_index { |value, index| printf "%1d [%04d]: %s\n", index+1, value, bar(value) } end