Similar to if and unless, while and until can be used inline, too:
round = 0 puts round += 1 until round > 9 round = 0 puts round += 1 while round < 10
(Source: rubyloveinfo)
10 notes 0 comments (via rubyloveinfo)
You can use HTML tags for formatting. Wrap code in <code> tags and multiple lines of code in <pre><code> tags.