NetManiac

Witold Rugowski on web20 wave with Ruby on Rails

EventMachine - how to get client’s IP address

Posted on December 7, 2007 - Filed Under Ruby, howto | 2 Comments

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 order [...]

Popularity: 18% [?]

Read More..>>

Writing tests for Ruby/Tk application

Posted on December 3, 2007 - Filed Under Ruby, Tk | Leave a Comment

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 [...]

Popularity: 7% [?]

Read More..>>