Learning Ruby via solving tasks on spoj.pl, codeforces.ru, etc.