Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 300 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 300 Bytes

Ruby Snippets

Enumerable

Usefull for debuging purpose and big task progress visibility

1.upto(666).each.with_info(:annoying_loop) {|e| sleep 0.1}
#> annoying_loop    1.50%  11/666 1.0s (eta: 1m5.81s)