A simple Configuration class in Ruby

Just in case you never heard of OpenStruct…

And this is how it can be implemented…

IceCube => Ruby Date Recurrence Library

I love that i found it :). Check it at ice_cube github repo. This is my first playing around code;

The output would look like this

Connecting IOS socket client to a Ruby socket server using Swift & Ruby’s eventmachine gem.

To demonstrate, I have written a server that has one task. It reads a word and sends it back to the client in a reversed form. The server code in few lines ;/

The client, which is written as… Continue Reading