On Tue, Mar 7, 2017 at 8:31 PM, Hugo Leonel Angelo <hugoangelo / gmail.com> wrote:
> try this
>
> [1,2,3].each {|x| begin p x, x/0; rescue; end; }

_You_ should have tried...

Cheers

robert


-- 
[guy, jim, charlie].each {|him| remember.him do |as, often| as.you_can
- without end}
http://blog.rubybestpractices.com/

Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>