Open main menu
Changes
Ruby Ranges
2 bytes added
,
12:06, 1 December 2007
→
Ruby Sequence Ranges
</pre>
A range may be converted to
a list
an array
using the Ruby ''to_a'' method. For example:
<pre>
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits