mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
display progress as percentage
This commit is contained in:
@@ -285,7 +285,7 @@ module Neo
|
|||||||
print Color.cyan('_'*(bar_width-1-happy_steps))
|
print Color.cyan('_'*(bar_width-1-happy_steps))
|
||||||
end
|
end
|
||||||
print Color.green(']')
|
print Color.green(']')
|
||||||
print " #{pass_count}/#{total_tests}"
|
print " #{pass_count}/#{total_tests} (#{pass_count*100/total_tests}%)"
|
||||||
puts
|
puts
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user