diff --git a/passpal.rb b/passpal.rb index 3c2066b..144712c 100644 --- a/passpal.rb +++ b/passpal.rb @@ -491,7 +491,7 @@ def report }) "Total characters: \t" + @charCount.to_s + "\nUnique characters: \t" + unique.to_s + - "\nTop 50 characters: \t" + '' + charset_string + + "\nTop 50 characters: \t" + '' + charset_string[0..49] + "\n\nCharacter frequency, sorted by count, top " + $top.to_s + "\n" + table.sub_table(0...$top.to_i).to_s end end