| Paste number 40167: | break within each |
| Pasted by: | mjgiarlo |
| When: | 2 years, 2 months ago |
| Share: | Tweet this! | http://paste.lisp.org/+UZR |
| Channel: | #code4lib |
| Paste contents: |
irb(main):001:0> (1..10).each { |i| puts i; break if i > 5 }
1
2
3
4
5
6
=> nil
This paste has no annotations.