2.times { deck.shuffle }
is much more expressive than
for(i=0; i<2; ++i) deck.shuffle
Tweet This Post Digg This Post Reddit Stumble This Post
Posted in Ruby | Comments Off
Subscribe to this site's RSS feed.