100 doors: Difference between revisions
Content deleted Content added
→{{header|Ruby}}: Added another option demonstrating Range#step. |
→{{header|Ruby}}: minor tweak to comment and output of last solution |
||
Line 2,807:
</lang>
<lang ruby>
doors = [false] * 100
Line 2,815:
end
end
</lang>
|