If you're looking at how ruby implemented Array.sort you are definitely on the right track !
I'm not sure that's how all people who started with Ruby/Python are evolving but that's good. However I'm not too comfortable trying to lure people to believe that you can write a web client in 2 lines :/
PS: Got downvoted for making a usefull comment ? Seriously guys you can't give a different opinion than the crowd...