<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> x = [ 1, 2, 3, 4, 5 ]<br>> x.each { |i| print i }<br>><br>> What do you think this code does?
<br><br>line 1 is a set, list or bag.<br>line 2 is a method definition calculating the absolute value of i, and<br>printing i which is undefined in both cases</blockquote><div><br>LOL<br>Obviously, you're kidding, aren't you?... :-D
<br></div></div>