EventMachine – how to get client’s IP address

I’m using EventMachine in one of my projects. EM is robust library to handle all dirty stuff related to low level network activities. However it is not very well documented. You can learn a lot from it’s sources, but I’m not (yet :) I hope) so good to crunch such library in 15 minutes in …

Writing tests for Ruby/Tk application

Tk allows to place widgets without explicitly specifying root window. It could become problem if You don’t have this window. I got basic functionality of my application and then I wanted to develop it further more TDD way, since I anticipated some redesigns on the fly. Having then test suite will help me not break …