mongoid/moped — pull request #1 by shingara (2012-02-06 08:50:02+00:00)
Title: little refactoring with a switch between JRuby and MRI in Moped::Socket class

Little proposal of refactoring after commit : https://github.com/mongoid/moped/commit/5d66bc515edb4c24673a1536d8743ba0c2d34add

To me, this commit allow more readable the code than previous. No feature adding in this commit. Feedback accepted :)