Set puzzle: Difference between revisions
→{{header|Ruby}}: Copy paste error corrected
(→{{header|Ruby}}: Added Ruby sample.) |
(→{{header|Ruby}}: Copy paste error corrected) |
||
Line 746:
puts "Containing #{sets.size} sets:"
sets.each{|set| print_cards(set)}</lang>
{{output}}<pre>
purple, diamond, one, open
red, oval, two, striped
purple, oval, two, open
|